Struct toggle::Enabled [] [src]

pub struct Enabled<T> {
    // some fields omitted
}

Methods

impl<T> Enabled<T>

fn new(value: T) -> Enabled<T>

Trait Implementations

impl<T> Toggle<T> for Enabled<T>

fn as_ref(&self) -> Option<&T>

fn as_mut(&mut self) -> Option<&mut T>