[][src]Struct mobile_code::MobileCode

pub struct MobileCode { /* fields omitted */ }

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.