#[repr(transparent)]pub struct GreatestDifferenceHeaderULE(pub <u8 as AsULE>::ULE);Expand description
ULE type for GreatestDifferenceHeader
Tuple Fields§
§0: <u8 as AsULE>::ULETrait Implementations§
Source§impl Clone for GreatestDifferenceHeaderULE
impl Clone for GreatestDifferenceHeaderULE
Source§fn clone(&self) -> GreatestDifferenceHeaderULE
fn clone(&self) -> GreatestDifferenceHeaderULE
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GreatestDifferenceHeaderULE
impl Eq for GreatestDifferenceHeaderULE
impl StructuralPartialEq for GreatestDifferenceHeaderULE
Source§impl ULE for GreatestDifferenceHeaderULE
impl ULE for GreatestDifferenceHeaderULE
Source§fn validate_bytes(bytes: &[u8]) -> Result<(), UleError>
fn validate_bytes(bytes: &[u8]) -> Result<(), UleError>
Validates a byte slice,
&[u8]. Read moreSource§unsafe fn slice_from_bytes_unchecked(bytes: &[u8]) -> &[Self]
unsafe fn slice_from_bytes_unchecked(bytes: &[u8]) -> &[Self]
Takes a byte slice,
&[u8], and return it as &[Self] with the same lifetime, assuming
that this byte slice has previously been run through Self::parse_bytes_to_slice() with
success. Read moreAuto Trait Implementations§
impl Freeze for GreatestDifferenceHeaderULE
impl RefUnwindSafe for GreatestDifferenceHeaderULE
impl Send for GreatestDifferenceHeaderULE
impl Sync for GreatestDifferenceHeaderULE
impl Unpin for GreatestDifferenceHeaderULE
impl UnsafeUnpin for GreatestDifferenceHeaderULE
impl UnwindSafe for GreatestDifferenceHeaderULE
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more