pub struct SincosOperation<'c> { /* private fields */ }Expand description
An intr.sincos operation.
Implementations§
Source§impl<'c> SincosOperation<'c>
impl<'c> SincosOperation<'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>,
) -> SincosOperationBuilder<'c, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c>, ) -> SincosOperationBuilder<'c, Unset, Unset>
Creates a builder.
pub fn res(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn val(&self) -> Result<Value<'c, '_>, Error>
pub fn fastmath_flags(&self) -> Result<Attribute<'c>, Error>
pub fn set_fastmath_flags(&mut self, value: Attribute<'c>)
pub fn remove_fastmath_flags(&mut self) -> Result<(), Error>
Trait Implementations§
Source§impl<'c> Clone for SincosOperation<'c>
impl<'c> Clone for SincosOperation<'c>
Source§fn clone(&self) -> SincosOperation<'c>
fn clone(&self) -> SincosOperation<'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 SincosOperation<'c>
impl<'c> Debug for SincosOperation<'c>
Source§impl<'b> From<SincosOperation<'b>> for LlvmDialectOperation<'b>
impl<'b> From<SincosOperation<'b>> for LlvmDialectOperation<'b>
Source§fn from(op: SincosOperation<'b>) -> Self
fn from(op: SincosOperation<'b>) -> Self
Converts to this type from the input type.
Source§impl<'c> From<SincosOperation<'c>> for Operation<'c>
impl<'c> From<SincosOperation<'c>> for Operation<'c>
Source§fn from(operation: SincosOperation<'c>) -> Self
fn from(operation: SincosOperation<'c>) -> Self
Converts to this type from the input type.
Source§impl<'c> PartialEq for SincosOperation<'c>
impl<'c> PartialEq for SincosOperation<'c>
Source§impl<'c> TryFrom<Operation<'c>> for SincosOperation<'c>
impl<'c> TryFrom<Operation<'c>> for SincosOperation<'c>
impl<'c> Eq for SincosOperation<'c>
impl<'c> StructuralPartialEq for SincosOperation<'c>
Auto Trait Implementations§
impl<'c> Freeze for SincosOperation<'c>
impl<'c> RefUnwindSafe for SincosOperation<'c>
impl<'c> !Send for SincosOperation<'c>
impl<'c> !Sync for SincosOperation<'c>
impl<'c> Unpin for SincosOperation<'c>
impl<'c> UnwindSafe for SincosOperation<'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