pub struct StringTypes;Expand description
Trivial implementation of Types using String for all associated types ———————————–
Trait Implementations§
Source§impl FromSexp<StringTypes> for StringTypes
impl FromSexp<StringTypes> for StringTypes
fn fresh_var(&mut self) -> <StringTypes as Types>::Var
fn var(&self, name: &str) -> Result<String, ParseError>
fn kvar(&self, name: &str) -> Result<String, ParseError>
fn string(&self, s: &str) -> Result<String, ParseError>
fn sort(&self, name: &str) -> Result<String, ParseError>
fn into_wrapper(self) -> FromSexpWrapper<T, Self>where
Self: Sized,
Auto Trait Implementations§
impl DynSend for StringTypes
impl DynSync for StringTypes
impl Freeze for StringTypes
impl RefUnwindSafe for StringTypes
impl Send for StringTypes
impl Sync for StringTypes
impl Unpin for StringTypes
impl UnsafeUnpin for StringTypes
impl UnwindSafe for StringTypes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more