pub struct BitwiseOrOperation<'c> { /* private fields */ }
Expand description
A bitwise_or
operation. Bitwise OR operator.
Elementwise bitwise OR of input1 and input2. Axis of size 1 will be broadcast as necessary.
Implementations§
source§impl<'c> BitwiseOrOperation<'c>
impl<'c> BitwiseOrOperation<'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>
) -> BitwiseOrOperationBuilder<'c, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> BitwiseOrOperationBuilder<'c, Unset, Unset, Unset>
Creates a builder.
pub fn output(&self) -> Result<OperationResult<'c, '_>, Error>
pub fn input_1(&self) -> Result<Value<'c, '_>, Error>
pub fn input_2(&self) -> Result<Value<'c, '_>, Error>
Trait Implementations§
source§impl<'c> From<BitwiseOrOperation<'c>> for Operation<'c>
impl<'c> From<BitwiseOrOperation<'c>> for Operation<'c>
source§fn from(operation: BitwiseOrOperation<'c>) -> Self
fn from(operation: BitwiseOrOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for BitwiseOrOperation<'c>
impl<'c> !Send for BitwiseOrOperation<'c>
impl<'c> !Sync for BitwiseOrOperation<'c>
impl<'c> Unpin for BitwiseOrOperation<'c>
impl<'c> UnwindSafe for BitwiseOrOperation<'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