[−][src]Struct mobile_code::MobileCode
Methods
impl MobileCode
[src]
pub fn new(len: u8) -> Self
[src]
pub fn list(&self)
[src]
pub fn add(&mut self, mobile: u64)
[src]
pub fn add_list(&mut self, list: &Vec<u64>)
[src]
pub fn get(&self, mobile: &u64) -> Option<&u64>
[src]
pub fn has(&self, mobile: &u64) -> bool
[src]
pub fn verify(&self, mobile: &u64, code: Option<&u64>) -> bool
[src]
pub fn remove(&mut self, mobile: &u64)
[src]
pub fn clear(&mut self)
[src]
pub fn is_empty(&self) -> bool
[src]
Auto Trait Implementations
impl RefUnwindSafe for MobileCode
impl Send for MobileCode
impl Sync for MobileCode
impl Unpin for MobileCode
impl UnwindSafe for MobileCode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,