[−][src]Struct kontroli::scope::Symbols
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]
fn from_iter<I: IntoIterator<Item = &'s str>>(iter: I) -> Self
[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]
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> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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>,