pub struct DefaultTypeSet;Expand description
Use 64-bit integers and 64-bit floats (default).
Trait Implementations§
Source§impl Debug for DefaultTypeSet
impl Debug for DefaultTypeSet
Source§impl Default for DefaultTypeSet
impl Default for DefaultTypeSet
Source§fn default() -> DefaultTypeSet
fn default() -> DefaultTypeSet
Returns the “default value” for a type. Read more
Source§impl TypeSet for DefaultTypeSet
impl TypeSet for DefaultTypeSet
Source§type Parser = DefaultTypeSet
type Parser = DefaultTypeSet
The typeset that will be used to parse source code.
Source§type Integer = <<DefaultTypeSet as TypeSet>::Parser as TypeSet>::Integer
type Integer = <<DefaultTypeSet as TypeSet>::Parser as TypeSet>::Integer
The type of unsigned integers in this type set.
Source§type SignedInteger = i64
type SignedInteger = i64
The type of signed integers in this type set.
Source§type Float = <<DefaultTypeSet as TypeSet>::Parser as TypeSet>::Float
type Float = <<DefaultTypeSet 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 DefaultTypeSet
impl RefUnwindSafe for DefaultTypeSet
impl Send for DefaultTypeSet
impl Sync for DefaultTypeSet
impl Unpin for DefaultTypeSet
impl UnwindSafe for DefaultTypeSet
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