Change Rust prelude to bring in traits as _

We already renamed many of these to avoid collisions with names like `AsMut` to be `ProtoAsMut`, I think its even better to throw away the name to only bring in the traits for people to be able to use the behavior.

PiperOrigin-RevId: 805477478
This commit is contained in:
Protobuf Team Bot 2025-09-10 12:50:38 -07:00 committed by Copybara-Service
parent b64e6c4d56
commit c3f7e8ded5

View file

@ -17,8 +17,6 @@
//! `protobuf::` crate instead.
pub use crate::{
proto, AsMut as ProtoAsMut, AsView as ProtoAsView, Clear as ProtoClear,
ClearAndParse as ProtoClearAndParse, CopyFrom as ProtoCopyFrom, IntoMut as ProtoIntoMut,
IntoView as ProtoIntoView, MergeFrom as ProtoMergeFrom, Parse as ProtoParse,
Serialize as ProtoSerialize, TakeFrom as ProtoTakeFrom,
proto, AsMut as _, AsView as _, Clear as _, ClearAndParse as _, CopyFrom as _, IntoMut as _,
IntoView as _, MergeFrom as _, Parse as _, Serialize as _, TakeFrom as _,
};