pub struct ClockOffsetMut<S: MutStorage> { /* private fields */ }Implementations§
Source§impl<S: MutStorage> ClockOffsetMut<S>
impl<S: MutStorage> ClockOffsetMut<S>
pub fn new(storage: S) -> Self
pub fn into_writer(self) -> ClockOffsetWriter<S, UncheckedState>
Sourcepub fn as_view(&self) -> ClockOffset<S::Sliced<'_>, UncheckedState>
pub fn as_view(&self) -> ClockOffset<S::Sliced<'_>, UncheckedState>
Borrows the mutable view as an immutable view in UncheckedState.
pub fn valid( &mut self, ) -> BitFlag<1, 15, Null, S::SlicedMut<'_>, UncheckedState>
Trait Implementations§
Source§impl<S: MutStorage> IntoWriter for ClockOffsetMut<S>
impl<S: MutStorage> IntoWriter for ClockOffsetMut<S>
type Writer = ClockOffsetWriter<S>
fn into_writer(self) -> Self::Writer
Source§impl<S: MutStorage> View for ClockOffsetMut<S>
impl<S: MutStorage> View for ClockOffsetMut<S>
Auto Trait Implementations§
impl<S> Freeze for ClockOffsetMut<S>where
S: Freeze,
impl<S> RefUnwindSafe for ClockOffsetMut<S>where
S: RefUnwindSafe,
impl<S> Send for ClockOffsetMut<S>where
S: Send,
impl<S> Sync for ClockOffsetMut<S>where
S: Sync,
impl<S> Unpin for ClockOffsetMut<S>where
S: Unpin,
impl<S> UnsafeUnpin for ClockOffsetMut<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ClockOffsetMut<S>where
S: UnwindSafe,
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