pub struct Snippet<'a> {
pub data: &'a [u8],
pub off_row: u16,
pub off_col: u16,
}Fields§
§data: &'a [u8]§off_row: u16§off_col: u16Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Snippet<'a>
impl<'a> RefUnwindSafe for Snippet<'a>
impl<'a> Send for Snippet<'a>
impl<'a> Sync for Snippet<'a>
impl<'a> Unpin for Snippet<'a>
impl<'a> UnsafeUnpin for Snippet<'a>
impl<'a> UnwindSafe for Snippet<'a>
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