pub struct MobileCode { /* private fields */ }
Implementations§
Source§impl MobileCode
impl MobileCode
pub fn new(len: u8) -> Self
pub fn list(&self)
pub fn add(&mut self, mobile: u64)
pub fn add_list(&mut self, list: &Vec<u64>)
pub fn get(&self, mobile: &u64) -> Option<&u64>
pub fn has(&self, mobile: &u64) -> bool
pub fn verify(&self, mobile: &u64, code: Option<&u64>) -> bool
pub fn remove(&mut self, mobile: &u64)
pub fn clear(&mut self)
pub fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for MobileCode
impl RefUnwindSafe for MobileCode
impl Send for MobileCode
impl Sync for MobileCode
impl Unpin for MobileCode
impl UnwindSafe for MobileCode
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