pub struct U6(/* private fields */);
Expand description
A 6-byte unsigned integer.
Implementations§
Trait Implementations§
Source§impl<'a> Arbitrary<'a> for U6
Available on crate feature arbitrary
only.
impl<'a> Arbitrary<'a> for U6
Available on crate feature
arbitrary
only.Source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl Ord for U6
impl Ord for U6
Source§impl PartialOrd for U6
impl PartialOrd for U6
impl Copy for U6
impl Eq for U6
impl StructuralPartialEq for U6
Auto Trait Implementations§
impl Freeze for U6
impl RefUnwindSafe for U6
impl Send for U6
impl Sync for U6
impl Unpin for U6
impl UnwindSafe for U6
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