pub struct FenceOperation<'c> { /* private fields */ }
Expand description
A fence
operation.
Implementations§
source§impl<'c> FenceOperation<'c>
impl<'c> FenceOperation<'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>
) -> FenceOperationBuilder<'c, Unset>
pub fn builder( context: &'c Context, location: Location<'c> ) -> FenceOperationBuilder<'c, Unset>
Creates a builder.
pub fn ordering(&self) -> Result<Attribute<'c>, Error>
pub fn set_ordering(&mut self, value: Attribute<'c>)
pub fn syncscope(&self) -> Result<StringAttribute<'c>, Error>
pub fn set_syncscope(&mut self, value: StringAttribute<'c>)
pub fn remove_syncscope(&mut self) -> Result<(), Error>
Trait Implementations§
source§impl<'c> From<FenceOperation<'c>> for Operation<'c>
impl<'c> From<FenceOperation<'c>> for Operation<'c>
source§fn from(operation: FenceOperation<'c>) -> Self
fn from(operation: FenceOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for FenceOperation<'c>
impl<'c> !Send for FenceOperation<'c>
impl<'c> !Sync for FenceOperation<'c>
impl<'c> Unpin for FenceOperation<'c>
impl<'c> UnwindSafe for FenceOperation<'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