pub struct MemcpyInlineOperation<'c> { /* private fields */ }Expand description
An intr.memcpy.inline operation.
Implementations§
Source§impl<'c> MemcpyInlineOperation<'c>
impl<'c> MemcpyInlineOperation<'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>,
) -> MemcpyInlineOperationBuilder<'c, Unset, Unset, Unset, Unset>
pub fn builder( context: &'c Context, location: Location<'c>, ) -> MemcpyInlineOperationBuilder<'c, Unset, Unset, Unset, Unset>
Creates a builder.
pub fn dst(&self) -> Result<Value<'c, '_>, Error>
pub fn src(&self) -> Result<Value<'c, '_>, Error>
pub fn len(&self) -> Result<IntegerAttribute<'c>, Error>
pub fn set_len(&mut self, value: IntegerAttribute<'c>)
pub fn is_volatile(&self) -> Result<IntegerAttribute<'c>, Error>
pub fn set_is_volatile(&mut self, value: IntegerAttribute<'c>)
pub fn access_groups(&self) -> Result<ArrayAttribute<'c>, Error>
pub fn set_access_groups(&mut self, value: ArrayAttribute<'c>)
pub fn remove_access_groups(&mut self) -> Result<(), Error>
pub fn alias_scopes(&self) -> Result<ArrayAttribute<'c>, Error>
pub fn set_alias_scopes(&mut self, value: ArrayAttribute<'c>)
pub fn remove_alias_scopes(&mut self) -> Result<(), Error>
pub fn noalias_scopes(&self) -> Result<ArrayAttribute<'c>, Error>
pub fn set_noalias_scopes(&mut self, value: ArrayAttribute<'c>)
pub fn remove_noalias_scopes(&mut self) -> Result<(), Error>
pub fn tbaa(&self) -> Result<ArrayAttribute<'c>, Error>
pub fn set_tbaa(&mut self, value: ArrayAttribute<'c>)
pub fn remove_tbaa(&mut self) -> Result<(), Error>
pub fn arg_attrs(&self) -> Result<ArrayAttribute<'c>, Error>
pub fn set_arg_attrs(&mut self, value: ArrayAttribute<'c>)
pub fn remove_arg_attrs(&mut self) -> Result<(), Error>
pub fn res_attrs(&self) -> Result<ArrayAttribute<'c>, Error>
pub fn set_res_attrs(&mut self, value: ArrayAttribute<'c>)
pub fn remove_res_attrs(&mut self) -> Result<(), Error>
Trait Implementations§
Source§impl<'c> Clone for MemcpyInlineOperation<'c>
impl<'c> Clone for MemcpyInlineOperation<'c>
Source§fn clone(&self) -> MemcpyInlineOperation<'c>
fn clone(&self) -> MemcpyInlineOperation<'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 MemcpyInlineOperation<'c>
impl<'c> Debug for MemcpyInlineOperation<'c>
Source§impl<'b> From<MemcpyInlineOperation<'b>> for LlvmDialectOperation<'b>
impl<'b> From<MemcpyInlineOperation<'b>> for LlvmDialectOperation<'b>
Source§fn from(op: MemcpyInlineOperation<'b>) -> Self
fn from(op: MemcpyInlineOperation<'b>) -> Self
Converts to this type from the input type.
Source§impl<'c> From<MemcpyInlineOperation<'c>> for Operation<'c>
impl<'c> From<MemcpyInlineOperation<'c>> for Operation<'c>
Source§fn from(operation: MemcpyInlineOperation<'c>) -> Self
fn from(operation: MemcpyInlineOperation<'c>) -> Self
Converts to this type from the input type.
Source§impl<'c> PartialEq for MemcpyInlineOperation<'c>
impl<'c> PartialEq for MemcpyInlineOperation<'c>
Source§impl<'c> TryFrom<Operation<'c>> for MemcpyInlineOperation<'c>
impl<'c> TryFrom<Operation<'c>> for MemcpyInlineOperation<'c>
impl<'c> Eq for MemcpyInlineOperation<'c>
impl<'c> StructuralPartialEq for MemcpyInlineOperation<'c>
Auto Trait Implementations§
impl<'c> Freeze for MemcpyInlineOperation<'c>
impl<'c> RefUnwindSafe for MemcpyInlineOperation<'c>
impl<'c> !Send for MemcpyInlineOperation<'c>
impl<'c> !Sync for MemcpyInlineOperation<'c>
impl<'c> Unpin for MemcpyInlineOperation<'c>
impl<'c> UnwindSafe for MemcpyInlineOperation<'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