[][src]Struct scgsm::SCGSM

pub struct SCGSM {
    pub flags: Vec<Flag>,
}

Fields

flags: Vec<Flag>

Implementations

impl SCGSM[src]

pub fn init() -> SCGSM[src]

pub fn add_flag(&mut self, k: &str, v: &str)[src]

pub fn cast_value<T>(&mut self, i: usize) -> T where
    T: FromStr,
    <T as FromStr>::Err: Debug
[src]

pub fn load_flags(&mut self, sf: &str)[src]

pub fn save_flags(&mut self, sf: &str) -> Result<()>[src]

pub fn update_flag(&mut self, k: &str, v: &str)[src]

pub fn view_flags(&mut self) -> String[src]

Auto Trait Implementations

impl RefUnwindSafe for SCGSM

impl Send for SCGSM

impl Sync for SCGSM

impl Unpin for SCGSM

impl UnwindSafe for SCGSM

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 = Infallible

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.