pub struct SymbolSmall(/* private fields */);
Implementations§
Source§impl SymbolSmall
impl SymbolSmall
Source§impl SymbolSmall
impl SymbolSmall
pub const fn try_from_bytes(bytes: &[u8]) -> Result<SymbolSmall, SymbolError>
pub const fn try_from_str(s: &str) -> Result<SymbolSmall, SymbolError>
pub const fn from_str(s: &str) -> SymbolSmall
pub fn to_str(&self) -> SymbolStr
Trait Implementations§
Source§impl AsMut<Val> for SymbolSmall
impl AsMut<Val> for SymbolSmall
Source§impl AsRef<Val> for SymbolSmall
impl AsRef<Val> for SymbolSmall
Source§impl Clone for SymbolSmall
impl Clone for SymbolSmall
Source§fn clone(&self) -> SymbolSmall
fn clone(&self) -> SymbolSmall
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<E: Env> Compare<SymbolSmall> for E
impl<E: Env> Compare<SymbolSmall> for E
Source§impl Debug for SymbolSmall
impl Debug for SymbolSmall
Source§impl From<&SymbolSmall> for SymbolStr
impl From<&SymbolSmall> for SymbolStr
Source§fn from(s: &SymbolSmall) -> Self
fn from(s: &SymbolSmall) -> Self
Converts to this type from the input type.
Source§impl From<&SymbolSmall> for Val
impl From<&SymbolSmall> for Val
Source§fn from(b: &SymbolSmall) -> Self
fn from(b: &SymbolSmall) -> Self
Converts to this type from the input type.
Source§impl From<SymbolSmall> for String
impl From<SymbolSmall> for String
Source§fn from(s: SymbolSmall) -> Self
fn from(s: SymbolSmall) -> Self
Converts to this type from the input type.
Source§impl From<SymbolSmall> for Symbol
impl From<SymbolSmall> for Symbol
Source§fn from(s: SymbolSmall) -> Self
fn from(s: SymbolSmall) -> Self
Converts to this type from the input type.
Source§impl From<SymbolSmall> for SymbolStr
impl From<SymbolSmall> for SymbolStr
Source§fn from(s: SymbolSmall) -> Self
fn from(s: SymbolSmall) -> Self
Converts to this type from the input type.
Source§impl From<SymbolSmall> for Val
impl From<SymbolSmall> for Val
Source§fn from(b: SymbolSmall) -> Self
fn from(b: SymbolSmall) -> Self
Converts to this type from the input type.
Source§impl FromIterator<char> for SymbolSmall
impl FromIterator<char> for SymbolSmall
Source§impl Hash for SymbolSmall
impl Hash for SymbolSmall
Source§impl IntoIterator for SymbolSmall
impl IntoIterator for SymbolSmall
Source§impl Ord for SymbolSmall
impl Ord for SymbolSmall
Source§impl PartialEq for SymbolSmall
impl PartialEq for SymbolSmall
Source§impl PartialOrd for SymbolSmall
impl PartialOrd for SymbolSmall
Source§impl ToString for SymbolSmall
impl ToString for SymbolSmall
Source§impl TryFrom<&[u8]> for SymbolSmall
impl TryFrom<&[u8]> for SymbolSmall
Source§type Error = SymbolError
type Error = SymbolError
The type returned in the event of a conversion error.
Source§fn try_from(b: &[u8]) -> Result<SymbolSmall, SymbolError>
fn try_from(b: &[u8]) -> Result<SymbolSmall, SymbolError>
Performs the conversion.
Source§impl TryFrom<&ScVal> for SymbolSmall
impl TryFrom<&ScVal> for SymbolSmall
Source§impl TryFrom<&SymbolSmall> for ScVal
impl TryFrom<&SymbolSmall> for ScVal
Source§impl TryFrom<&Val> for SymbolSmall
impl TryFrom<&Val> for SymbolSmall
Source§impl TryFrom<ScVal> for SymbolSmall
impl TryFrom<ScVal> for SymbolSmall
Source§impl TryFrom<Symbol> for SymbolSmall
impl TryFrom<Symbol> for SymbolSmall
Source§impl TryFrom<SymbolSmall> for ScVal
impl TryFrom<SymbolSmall> for ScVal
Source§impl TryFrom<Val> for SymbolSmall
impl TryFrom<Val> for SymbolSmall
Source§impl<E: Env> TryFromVal<E, &SymbolSmall> for Val
impl<E: Env> TryFromVal<E, &SymbolSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &&SymbolSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, SymbolSmall> for Val
impl<E: Env> TryFromVal<E, SymbolSmall> for Val
type Error = ConversionError
fn try_from_val(_env: &E, val: &SymbolSmall) -> Result<Self, Self::Error>
Source§impl<E: Env> TryFromVal<E, Val> for SymbolSmall
impl<E: Env> TryFromVal<E, Val> for SymbolSmall
Source§impl WasmiMarshal for SymbolSmall
impl WasmiMarshal for SymbolSmall
fn try_marshal_from_value(v: Value) -> Option<Self>
fn marshal_from_self(self) -> Value
impl Copy for SymbolSmall
impl Eq for SymbolSmall
Auto Trait Implementations§
impl Freeze for SymbolSmall
impl RefUnwindSafe for SymbolSmall
impl Send for SymbolSmall
impl Sync for SymbolSmall
impl Unpin for SymbolSmall
impl UnwindSafe for SymbolSmall
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
impl<T, U, V, W, E, C> Compare<(T, U, V, W)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W), b: &(T, U, V, W), ) -> Result<Ordering, <C as Compare<(T, U, V, W)>>::Error>
Source§impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
impl<T, U, V, W, X, E, C> Compare<(T, U, V, W, X)> for C
type Error = E
fn compare( &self, a: &(T, U, V, W, X), b: &(T, U, V, W, X), ) -> Result<Ordering, <C as Compare<(T, U, V, W, X)>>::Error>
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.