Struct otopr::Repeated [−][src]
#[repr(transparent)]pub struct Repeated<C>(_);
Expand description
Protobuf repeated
fields.
Implementations
pub fn map<'a, NewIter, F: Fn(<&'a C::Target as IntoIterator>::IntoIter) -> NewIter>(
&'a self,
f: F
) -> RepeatedMap<<&'a C::Target as IntoIterator>::IntoIter, F> where
&'a C::Target: IntoIterator,
Trait Implementations
The entry point to encoding Encodable
s in a message. Read more
returns the size in bytes when encoded, including the field number.
unsafe fn encode_field_precomputed(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: &[u8]
)
unsafe fn encode_field_precomputed(
&self,
s: &mut ProtobufSerializer<impl BufMut>,
field_number: &[u8]
)
Encodes a field using precomputed bytes for the field number and the wire type varint. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<C> RefUnwindSafe for Repeated<C> where
C: RefUnwindSafe,
impl<C> UnwindSafe for Repeated<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more