pub struct ConstrainedSIToFPOperation<'c> { /* private fields */ }Expand description
An intr.experimental.constrained.sitofp operation.
Implementations§
Source§impl<'c> ConstrainedSIToFPOperation<'c>
impl<'c> ConstrainedSIToFPOperation<'c>
Sourcepub fn as_operation(&self) -> &Operation<'c>
pub fn as_operation(&self) -> &Operation<'c>
Returns a generic operation.
Sourcepub fn builder(
context: &'c Context,
location: Location<'c>,
) -> ConstrainedSIToFPOperationBuilder<'c, Unset, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c>, ) -> ConstrainedSIToFPOperationBuilder<'c, Unset, Unset, Unset, Unset>
Creates a builder.
pub fn res(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn arg_0(&self) -> Result<Value<'c, '_>, Error>
pub fn roundingmode(&self) -> Result<Attribute<'c>, Error>
pub fn set_roundingmode(&mut self, value: Attribute<'c>)
pub fn fp_exception_behavior(&self) -> Result<Attribute<'c>, Error>
pub fn set_fp_exception_behavior(&mut self, value: Attribute<'c>)
Trait Implementations§
Source§impl<'c> Clone for ConstrainedSIToFPOperation<'c>
impl<'c> Clone for ConstrainedSIToFPOperation<'c>
Source§fn clone(&self) -> ConstrainedSIToFPOperation<'c>
fn clone(&self) -> ConstrainedSIToFPOperation<'c>
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<'c> Debug for ConstrainedSIToFPOperation<'c>
impl<'c> Debug for ConstrainedSIToFPOperation<'c>
Source§impl<'b> From<ConstrainedSIToFPOperation<'b>> for LlvmDialectOperation<'b>
impl<'b> From<ConstrainedSIToFPOperation<'b>> for LlvmDialectOperation<'b>
Source§fn from(op: ConstrainedSIToFPOperation<'b>) -> Self
fn from(op: ConstrainedSIToFPOperation<'b>) -> Self
Converts to this type from the input type.
Source§impl<'c> From<ConstrainedSIToFPOperation<'c>> for Operation<'c>
impl<'c> From<ConstrainedSIToFPOperation<'c>> for Operation<'c>
Source§fn from(operation: ConstrainedSIToFPOperation<'c>) -> Self
fn from(operation: ConstrainedSIToFPOperation<'c>) -> Self
Converts to this type from the input type.
Source§impl<'c> PartialEq for ConstrainedSIToFPOperation<'c>
impl<'c> PartialEq for ConstrainedSIToFPOperation<'c>
Source§fn eq(&self, other: &ConstrainedSIToFPOperation<'c>) -> bool
fn eq(&self, other: &ConstrainedSIToFPOperation<'c>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'c> TryFrom<Operation<'c>> for ConstrainedSIToFPOperation<'c>
impl<'c> TryFrom<Operation<'c>> for ConstrainedSIToFPOperation<'c>
impl<'c> Eq for ConstrainedSIToFPOperation<'c>
impl<'c> StructuralPartialEq for ConstrainedSIToFPOperation<'c>
Auto Trait Implementations§
impl<'c> Freeze for ConstrainedSIToFPOperation<'c>
impl<'c> RefUnwindSafe for ConstrainedSIToFPOperation<'c>
impl<'c> !Send for ConstrainedSIToFPOperation<'c>
impl<'c> !Sync for ConstrainedSIToFPOperation<'c>
impl<'c> Unpin for ConstrainedSIToFPOperation<'c>
impl<'c> UnwindSafe for ConstrainedSIToFPOperation<'c>
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