pub struct RefBoolMut<'s> { /* private fields */ }
Expand description
A mutable reference to a bool
value that may be in the middle of a byte.
Implementations§
Source§impl<'s> RefBoolMut<'s>
impl<'s> RefBoolMut<'s>
Sourcepub unsafe fn unconstrained_next_bit(self) -> Self
pub unsafe fn unconstrained_next_bit(self) -> Self
Returns a reference that points to the next bit without being constrained by the referenced byte.
§Safety
The previous bit must be a valid value.
Sourcepub unsafe fn unconstrained_prev_bit(self) -> Self
pub unsafe fn unconstrained_prev_bit(self) -> Self
Returns a reference that points to the previous bit without being constrained by the referenced byte.
§Safety
The previous bit must be a valid value.
Trait Implementations§
Source§impl<'s> Clone for RefBoolMut<'s>
impl<'s> Clone for RefBoolMut<'s>
Source§fn clone(&self) -> RefBoolMut<'s>
fn clone(&self) -> RefBoolMut<'s>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'s> Debug for RefBoolMut<'s>
impl<'s> Debug for RefBoolMut<'s>
Source§impl<'s> Display for RefBoolMut<'s>
impl<'s> Display for RefBoolMut<'s>
Source§impl<'s> Ord for RefBoolMut<'s>
impl<'s> Ord for RefBoolMut<'s>
Source§fn cmp(&self, other: &RefBoolMut<'s>) -> Ordering
fn cmp(&self, other: &RefBoolMut<'s>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'s> PartialEq for RefBoolMut<'s>
impl<'s> PartialEq for RefBoolMut<'s>
Source§impl<'s> PartialOrd for RefBoolMut<'s>
impl<'s> PartialOrd for RefBoolMut<'s>
impl<'s> Copy for RefBoolMut<'s>
impl<'s> Eq for RefBoolMut<'s>
impl<'s> StructuralPartialEq for RefBoolMut<'s>
Auto Trait Implementations§
impl<'s> Freeze for RefBoolMut<'s>
impl<'s> RefUnwindSafe for RefBoolMut<'s>
impl<'s> !Send for RefBoolMut<'s>
impl<'s> !Sync for RefBoolMut<'s>
impl<'s> Unpin for RefBoolMut<'s>
impl<'s> !UnwindSafe for RefBoolMut<'s>
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