Struct otopr::Signed [−][src]
#[repr(transparent)]pub struct Signed<T: Signable>(_);
Implementations
Trait Implementations
returns the size in bytes when encoded, including the field number.
The entry point to encoding Encodable
s in a message. Read more
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
impl<T: PartialOrd + Signable> PartialOrd<Signed<T>> for Signed<T> where
T::Storage: PartialOrd,
impl<T: PartialOrd + Signable> PartialOrd<Signed<T>> for Signed<T> where
T::Storage: PartialOrd,
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<T> RefUnwindSafe for Signed<T> where
<T as Signable>::Storage: RefUnwindSafe,
impl<T> UnwindSafe for Signed<T> where
<T as Signable>::Storage: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more