pub struct OpAttributeSpec { /* private fields */ }Expand description
Ordered schema declaration for one operation attribute.
Implementations§
Source§impl OpAttributeSpec
impl OpAttributeSpec
Sourcepub const fn new(name: &'static str, kind: OpAttributeKind) -> Self
pub const fn new(name: &'static str, kind: OpAttributeKind) -> Self
Construct one generated attribute declaration.
Sourcepub const fn kind(self) -> OpAttributeKind
pub const fn kind(self) -> OpAttributeKind
Return the declared attribute kind.
Trait Implementations§
Source§impl Clone for OpAttributeSpec
impl Clone for OpAttributeSpec
impl Copy for OpAttributeSpec
Source§impl Debug for OpAttributeSpec
impl Debug for OpAttributeSpec
impl Eq for OpAttributeSpec
Source§impl PartialEq for OpAttributeSpec
impl PartialEq for OpAttributeSpec
impl StructuralPartialEq for OpAttributeSpec
Auto Trait Implementations§
impl Forget for OpAttributeSpec
impl Freeze for OpAttributeSpec
impl Move for OpAttributeSpec
impl RefUnwindSafe for OpAttributeSpec
impl Send for OpAttributeSpec
impl Sync for OpAttributeSpec
impl Unpin for OpAttributeSpec
impl UnsafeUnpin for OpAttributeSpec
impl UnwindSafe for OpAttributeSpec
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