Struct cardano_serialization_lib::UnitInterval [−][src]
pub struct UnitInterval { /* fields omitted */ }
Implementations
Trait Implementations
fn deserialize<R: BufRead + Seek>(
raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
fn deserialize_as_embedded_group<R: BufRead + Seek>(
raw: &mut Deserializer<R>,
len: Len
) -> Result<Self, DeserializeError>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
Auto Trait Implementations
impl RefUnwindSafe for UnitInterval
impl Send for UnitInterval
impl Sync for UnitInterval
impl Unpin for UnitInterval
impl UnwindSafe for UnitInterval
Blanket Implementations
Mutably borrows from an owned value. Read more