pub struct Symbol(pub Str);Tuple Fields§
§0: StrImplementations§
Trait Implementations§
Source§impl From<ByteString> for Symbol
impl From<ByteString> for Symbol
Source§fn from(s: ByteString) -> Symbol
fn from(s: ByteString) -> Symbol
Converts to this type from the input type.
Source§impl From<Symbol> for ErrorCondition
impl From<Symbol> for ErrorCondition
Source§fn from(original: Symbol) -> ErrorCondition
fn from(original: Symbol) -> ErrorCondition
Converts to this type from the input type.
impl Eq for Symbol
impl StructuralPartialEq for Symbol
Auto Trait Implementations§
impl !Freeze for Symbol
impl RefUnwindSafe for Symbol
impl Send for Symbol
impl Sync for Symbol
impl Unpin for Symbol
impl UnwindSafe for Symbol
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