pub enum AttributeGroupDisposition {
Return,
Parameter(u32),
Function,
}Expand description
Represents the “disposition” of an attribute group, i.e. whether its attributes are associated with the return value, specific parameters, or the entire associated function.
Variants§
Return
The associated attributes are return value attributes.
Parameter(u32)
The associated attributes are parameter attributes (1-indexed).
Function
The associated attributes are function attributes.
Trait Implementations§
Source§impl Clone for AttributeGroupDisposition
impl Clone for AttributeGroupDisposition
Source§fn clone(&self) -> AttributeGroupDisposition
fn clone(&self) -> AttributeGroupDisposition
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 Debug for AttributeGroupDisposition
impl Debug for AttributeGroupDisposition
Source§impl From<u32> for AttributeGroupDisposition
impl From<u32> for AttributeGroupDisposition
impl Copy for AttributeGroupDisposition
Auto Trait Implementations§
impl Freeze for AttributeGroupDisposition
impl RefUnwindSafe for AttributeGroupDisposition
impl Send for AttributeGroupDisposition
impl Sync for AttributeGroupDisposition
impl Unpin for AttributeGroupDisposition
impl UnwindSafe for AttributeGroupDisposition
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