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