pub struct T_INT { /* private fields */ }Available on crate feature
types only.Expand description
Predifined int type.
Methods from Deref<Target = Type>§
Sourcepub fn as_lambda(&self) -> Option<LambdaType>
pub fn as_lambda(&self) -> Option<LambdaType>
Returns LambdaType if the type is a lambda type.
§Panics
Panics if the type is a malformed lambda type. This is a bug and should be reported.
Sourcepub fn as_option(&self) -> Option<OptionType>
pub fn as_option(&self) -> Option<OptionType>
Returns OptionType if the type is an option type.
§Panics
Panics if the type is a malformed option type. This is a bug and should be reported.
Sourcepub fn is_specific(&self) -> bool
pub fn is_specific(&self) -> bool
Returns true if the type is a specific type.
pub fn is_nil(&self) -> bool
pub fn is_void(&self) -> bool
pub fn is_any(&self) -> bool
pub fn is_typedef(&self) -> bool
pub fn is_boolean(&self) -> bool
pub fn is_character(&self) -> bool
pub fn is_integer(&self) -> bool
pub fn is_float(&self) -> bool
pub fn is_string(&self) -> bool
pub fn is_symbol(&self) -> bool
pub fn is_binary(&self) -> bool
pub fn is_vector(&self) -> bool
pub fn is_list(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for T_INT
impl RefUnwindSafe for T_INT
impl Send for T_INT
impl Sync for T_INT
impl Unpin for T_INT
impl UnsafeUnpin for T_INT
impl UnwindSafe for T_INT
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