#[non_exhaustive]pub enum TypeQualifier {
Const,
In,
InOut,
Out,
ByCopy,
ByRef,
OneWay,
Atomic,
}Expand description
The TypeQualifier type.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Const
The Const variant.
In
The In variant.
InOut
The InOut variant.
Out
The Out variant.
ByCopy
The ByCopy variant.
ByRef
The ByRef variant.
OneWay
The OneWay variant.
Atomic
The Atomic variant.
Trait Implementations§
Source§impl Clone for TypeQualifier
impl Clone for TypeQualifier
impl Copy for TypeQualifier
Source§impl Debug for TypeQualifier
impl Debug for TypeQualifier
Source§impl Display for TypeQualifier
impl Display for TypeQualifier
impl Eq for TypeQualifier
Source§impl PartialEq for TypeQualifier
impl PartialEq for TypeQualifier
impl StructuralPartialEq for TypeQualifier
Auto Trait Implementations§
impl Freeze for TypeQualifier
impl RefUnwindSafe for TypeQualifier
impl Send for TypeQualifier
impl Sync for TypeQualifier
impl Unpin for TypeQualifier
impl UnsafeUnpin for TypeQualifier
impl UnwindSafe for TypeQualifier
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