pub struct ExtensionEffect {
pub family: &'static str,
pub key: u64,
pub access: ExtensionEffectAccess,
}Expand description
Backend-neutral resource access declared by an extension payload.
Fields§
§family: &'static strStable versioned resource family.
key: u64Family-local resource identity.
access: ExtensionEffectAccessRead or write access.
Trait Implementations§
Source§impl Clone for ExtensionEffect
impl Clone for ExtensionEffect
Source§fn clone(&self) -> ExtensionEffect
fn clone(&self) -> ExtensionEffect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtensionEffect
impl Debug for ExtensionEffect
Source§impl Hash for ExtensionEffect
impl Hash for ExtensionEffect
Source§impl PartialEq for ExtensionEffect
impl PartialEq for ExtensionEffect
Source§fn eq(&self, other: &ExtensionEffect) -> bool
fn eq(&self, other: &ExtensionEffect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExtensionEffect
impl Eq for ExtensionEffect
impl StructuralPartialEq for ExtensionEffect
Auto Trait Implementations§
impl Freeze for ExtensionEffect
impl RefUnwindSafe for ExtensionEffect
impl Send for ExtensionEffect
impl Sync for ExtensionEffect
impl Unpin for ExtensionEffect
impl UnsafeUnpin for ExtensionEffect
impl UnwindSafe for ExtensionEffect
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more