pub struct DoubleValue { /* private fields */ }
Implementations§
Source§impl DoubleValue
impl DoubleValue
pub fn new(reference: LLVMValueRef) -> Self
pub fn get_reference(&self) -> LLVMValueRef
pub fn is_undef(&self) -> bool
pub fn eq(&self, ctx: &Context, other: &DoubleValue) -> BoolValue
pub fn add(&self, ctx: &Context, other: &DoubleValue) -> DoubleValue
pub fn mul(&self, ctx: &Context, other: &DoubleValue) -> DoubleValue
pub fn neg(&self, ctx: &Context) -> DoubleValue
pub fn less_than(&self, ctx: &Context, other: &DoubleValue) -> BoolValue
pub fn greater_than(&self, ctx: &Context, other: &DoubleValue) -> BoolValue
pub fn to_int32(&self, ctx: &Context) -> Int32Value
pub fn to_float(&self, ctx: &Context) -> FloatValue
Trait Implementations§
Source§impl Clone for DoubleValue
impl Clone for DoubleValue
Source§fn clone(&self) -> DoubleValue
fn clone(&self) -> DoubleValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DoubleValue
impl Debug for DoubleValue
Source§impl From<DoubleValue> for LLVMValue
impl From<DoubleValue> for LLVMValue
Source§fn from(value: DoubleValue) -> Self
fn from(value: DoubleValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DoubleValue
impl RefUnwindSafe for DoubleValue
impl !Send for DoubleValue
impl !Sync for DoubleValue
impl Unpin for DoubleValue
impl UnwindSafe for DoubleValue
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