pub enum FloatType {
F32(F32Type),
F64(F64Type),
}Variants§
Implementations§
Source§impl FloatType
impl FloatType
pub fn id(&self) -> TypeId
pub fn name(&self) -> String
pub fn to_type(&self) -> Type
pub fn is_f32(&self) -> bool
pub fn to_f32(&self) -> F32Type
pub fn is_f64(&self) -> bool
pub fn to_f64(&self) -> F64Type
pub fn assignable_to(&self, _type: Type) -> bool
pub fn convertable_to(&self, _type: Type) -> bool
Trait Implementations§
impl Copy for FloatType
impl StructuralPartialEq for FloatType
Auto Trait Implementations§
impl Freeze for FloatType
impl RefUnwindSafe for FloatType
impl Send for FloatType
impl Sync for FloatType
impl Unpin for FloatType
impl UnsafeUnpin for FloatType
impl UnwindSafe for FloatType
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