[][src]Struct kontroli::scope::Symbols

pub struct Symbols<'s>(_);

Map from strings to (shared) symbols.

Implementations

impl<'s> Symbols<'s>[src]

pub fn new() -> Self[src]

pub fn get(&self, path: &[String], name: &str) -> Option<Symbol<'s>>[src]

pub fn insert(&mut self, s: &'s str) -> Result<Symbol<'s>, Error>[src]

pub fn set_path(&mut self, path: Vec<String>)[src]

Trait Implementations

impl<'s> Default for Symbols<'s>[src]

impl<'s> FromIterator<&'s str> for Symbols<'s>[src]

Auto Trait Implementations

impl<'s> RefUnwindSafe for Symbols<'s>

impl<'s> Send for Symbols<'s>

impl<'s> Sync for Symbols<'s>

impl<'s> Unpin for Symbols<'s>

impl<'s> UnwindSafe for Symbols<'s>

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> Same<T> for T

type Output = T

Should always be Self

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.