pub struct Log2Operation<'c> { /* private fields */ }
Expand description
An intr.log2
operation.
Implementations§
source§impl<'c> Log2Operation<'c>
impl<'c> Log2Operation<'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>
) -> Log2OperationBuilder<'c, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> Log2OperationBuilder<'c, Unset>
Creates a builder.
pub fn res(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn in(&self) -> Result<Value<'c, '_>, Error>
pub fn fastmath_flags(&self) -> Result<Attribute<'c>, Error>
pub fn set_fastmath_flags(&mut self, value: Attribute<'c>)
Trait Implementations§
source§impl<'c> From<Log2Operation<'c>> for Operation<'c>
impl<'c> From<Log2Operation<'c>> for Operation<'c>
source§fn from(operation: Log2Operation<'c>) -> Self
fn from(operation: Log2Operation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for Log2Operation<'c>
impl<'c> !Send for Log2Operation<'c>
impl<'c> !Sync for Log2Operation<'c>
impl<'c> Unpin for Log2Operation<'c>
impl<'c> UnwindSafe for Log2Operation<'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