pub struct MetaKey(/* private fields */);
Implementations§
Source§impl MetaKey
impl MetaKey
pub fn read(bytes: &[u8]) -> Option<&MetaKey>
pub fn read_mut(bytes: &[u8]) -> Option<&mut MetaKey>
pub fn write(bytes: &mut [u8], value: &Option<&MetaKey>)
pub fn new() -> Self
pub fn new_add(&self) -> Self
pub fn key(&self) -> u64
pub fn set_key(&mut self, key: u64)
pub fn sep(&self) -> u16
pub fn add_sep(&mut self, diff: u16)
pub fn set_sep(&mut self, sep: u16)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetaKey
impl RefUnwindSafe for MetaKey
impl Send for MetaKey
impl Sync for MetaKey
impl Unpin for MetaKey
impl UnwindSafe for MetaKey
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