pub struct Trunc {
pub operand: ConstantRef,
pub to_type: TypeRef,
}
Fields
operand: ConstantRef
to_type: TypeRef
Trait Implementations
sourceimpl ConstUnaryOp for Trunc
impl ConstUnaryOp for Trunc
fn get_operand(&self) -> ConstantRef
sourceimpl PartialEq<Trunc> for Trunc
impl PartialEq<Trunc> for Trunc
impl StructuralPartialEq for Trunc
Auto Trait Implementations
impl RefUnwindSafe for Trunc
impl Send for Trunc
impl Sync for Trunc
impl Unpin for Trunc
impl UnwindSafe for Trunc
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more