pub struct Unit { /* private fields */ }Expand description
Implementations§
Source§impl Unit
impl Unit
pub fn empty() -> Self
pub fn inline(words: &[u32]) -> Self
pub fn segment(last: usize, now: usize) -> Self
pub fn size(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn is_segment(&self) -> bool
pub fn inline_words(&self) -> &[u32]
pub fn segment_info(&self) -> Segment
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnsafeUnpin for Unit
impl UnwindSafe for Unit
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