pub struct Symbol(/* private fields */);
Expand description
Type to hold anything in Slosh that can be represented as a slosh symbol: u32.
Public type used by rust native -> slosh bridge macro to represent arguments that reference a valid symbol.
Can represent SlRefInto Value
types:
- Symbol
Always returns a Value::Symbol
type.
Trait Implementations§
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