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