pub struct TypeSet32;Expand description
Use 32-bit integers and floats.
Trait Implementations§
Source§impl TypeSet for TypeSet32
impl TypeSet for TypeSet32
Source§type Integer = <<TypeSet32 as TypeSet>::Parser as TypeSet>::Integer
type Integer = <<TypeSet32 as TypeSet>::Parser as TypeSet>::Integer
The type of unsigned integers in this type set.
Source§type SignedInteger = i32
type SignedInteger = i32
The type of signed integers in this type set.
Source§type Float = <<TypeSet32 as TypeSet>::Parser as TypeSet>::Float
type Float = <<TypeSet32 as TypeSet>::Parser as TypeSet>::Float
The type of floating point numbers in this type set.
Source§fn to_signed(v: Self::Integer) -> Result<Self::SignedInteger, OperatorError>
fn to_signed(v: Self::Integer) -> Result<Self::SignedInteger, OperatorError>
Converts an unsigned integer into a signed integer.
Source§fn to_usize(v: Self::Integer) -> Result<usize, OperatorError>
fn to_usize(v: Self::Integer) -> Result<usize, OperatorError>
Converts an unsigned integer into a Rust usize.
Source§fn int_from_usize(v: usize) -> Self::Integer
fn int_from_usize(v: usize) -> Self::Integer
Converts the given Rust usize to an integer.
Source§fn load_string<'s>(&'s self, str: &'s Self::String) -> &'s str
fn load_string<'s>(&'s self, str: &'s Self::String) -> &'s str
Loads a string.
Source§fn store_string(&mut self, str: &str) -> Self::String
fn store_string(&mut self, str: &str) -> Self::String
Stores a string.
Auto Trait Implementations§
impl Freeze for TypeSet32
impl RefUnwindSafe for TypeSet32
impl Send for TypeSet32
impl Sync for TypeSet32
impl Unpin for TypeSet32
impl UnwindSafe for TypeSet32
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