pub struct Quals(/* private fields */);Expand description
The type qualifiers, as a set.
_Atomic is here because it can be written in qualifier position, where it qualifies
whatever the declarator arrives at. _Atomic(T), with parentheses, is a different thing and
is TypeSpec::Atomic, because it constructs a type that may not have the same alignment
as T. Both spellings mean the same in the end and the difference matters to the parser.
Implementations§
Trait Implementations§
impl Copy for Quals
impl Eq for Quals
impl StructuralPartialEq for Quals
Auto Trait Implementations§
impl Freeze for Quals
impl RefUnwindSafe for Quals
impl Send for Quals
impl Sync for Quals
impl Unpin for Quals
impl UnsafeUnpin for Quals
impl UnwindSafe for Quals
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