pub struct Heads<T: 'static, const REV: bool> {
pub data: RefCell<T>,
_consume_template_type_t: PhantomData<T>,
_comsume_template_const_parameter_rev: PhantomData<()>,
}
Expand description
A struct which contains only the head fields of WithConstParam
.
Fields§
§data: RefCell<T>
§_consume_template_type_t: PhantomData<T>
§_comsume_template_const_parameter_rev: PhantomData<()>
Auto Trait Implementations§
impl<T, const REV: bool> !Freeze for Heads<T, REV>
impl<T, const REV: bool> !RefUnwindSafe for Heads<T, REV>
impl<T, const REV: bool> Send for Heads<T, REV>where
T: Send,
impl<T, const REV: bool> !Sync for Heads<T, REV>
impl<T, const REV: bool> Unpin for Heads<T, REV>where
T: Unpin,
impl<T, const REV: bool> UnwindSafe for Heads<T, REV>where
T: 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