pub struct Niche {
pub offset: Size,
pub value: Primitive,
pub valid_range: WrappingRange,
}
Fields§
§offset: Size
§value: Primitive
§valid_range: WrappingRange
Implementations§
Trait Implementations§
impl Copy for Niche
impl Eq for Niche
impl StructuralPartialEq for Niche
Auto Trait Implementations§
impl Freeze for Niche
impl RefUnwindSafe for Niche
impl Send for Niche
impl Sync for Niche
impl Unpin for Niche
impl UnwindSafe for Niche
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