pub struct LooseInt(pub [u8; 7]);Expand description
Type to hold anything in Slosh that can be represented as slosh int value: [u8; 7].
Public type used by rust native -> slosh bridge macro to represent arguments that can be loosely cast to an int.
Can represent SlRefInto Value types:
- Byte
- Int
- Float
- String
- CodePoint
- CharCluster
- CharClusterLong
- Symbol
- Keyword
- StringConst
Always returns a Value::Int type.
Tuple Fields§
§0: [u8; 7]Trait Implementations§
Auto Trait Implementations§
impl Freeze for LooseInt
impl RefUnwindSafe for LooseInt
impl Send for LooseInt
impl Sync for LooseInt
impl Unpin for LooseInt
impl UnwindSafe for LooseInt
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