Struct proc_bitfield::nested::NestedRef
source · pub struct NestedRef<'a, T: Bitfield, U: Bitfield, const START: usize, const END: usize>{ /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'a, T: Clone + Bitfield, U: Clone + Bitfield, const START: usize, const END: usize> Clone for NestedRef<'a, T, U, START, END>
impl<'a, T: Clone + Bitfield, U: Clone + Bitfield, const START: usize, const END: usize> Clone for NestedRef<'a, T, U, START, END>
source§impl<'a, T: Bitfield, U, const START: usize, const END: usize> Debug for NestedRef<'a, T, U, START, END>
impl<'a, T: Bitfield, U, const START: usize, const END: usize> Debug for NestedRef<'a, T, U, START, END>
source§impl<'a, T: Bitfield, U: Bitfield, const START: usize, const END: usize> Deref for NestedRef<'a, T, U, START, END>
impl<'a, T: Bitfield, U: Bitfield, const START: usize, const END: usize> Deref for NestedRef<'a, T, U, START, END>
impl<'a, T: Copy + Bitfield, U: Copy + Bitfield, const START: usize, const END: usize> Copy for NestedRef<'a, T, U, START, END>
Auto Trait Implementations§
impl<'a, T, U, const START: usize, const END: usize> Freeze for NestedRef<'a, T, U, START, END>where
U: Freeze,
impl<'a, T, U, const START: usize, const END: usize> RefUnwindSafe for NestedRef<'a, T, U, START, END>where
U: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T, U, const START: usize, const END: usize> Send for NestedRef<'a, T, U, START, END>
impl<'a, T, U, const START: usize, const END: usize> Sync for NestedRef<'a, T, U, START, END>
impl<'a, T, U, const START: usize, const END: usize> Unpin for NestedRef<'a, T, U, START, END>where
U: Unpin,
impl<'a, T, U, const START: usize, const END: usize> UnwindSafe for NestedRef<'a, T, U, START, END>where
U: UnwindSafe,
T: RefUnwindSafe,
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
source§unsafe fn unsafe_from(other: U) -> T
unsafe fn unsafe_from(other: U) -> T
Calls U::into(other)
.
That is, this conversion is whatever the implementation of Into
<T> for U
chooses to
do.
source§impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
source§unsafe fn unsafe_into(self) -> U
unsafe fn unsafe_into(self) -> U
Calls U::unsafe_from(self)
.
That is, this conversion is whatever the implementation of UnsafeFrom
<T> for U
chooses to do.