pub struct TypeQualifiers {
pub is_const: bool,
pub is_volatile: bool,
pub is_restrict: bool,
pub is_atomic: bool,
}Expand description
型修飾子
Fields§
§is_const: bool§is_volatile: bool§is_restrict: bool§is_atomic: boolImplementations§
Trait Implementations§
Source§impl Clone for TypeQualifiers
impl Clone for TypeQualifiers
Source§fn clone(&self) -> TypeQualifiers
fn clone(&self) -> TypeQualifiers
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 TypeQualifiers
impl Debug for TypeQualifiers
Source§impl Default for TypeQualifiers
impl Default for TypeQualifiers
Source§fn default() -> TypeQualifiers
fn default() -> TypeQualifiers
Returns the “default value” for a type. Read more
Source§impl PartialEq for TypeQualifiers
impl PartialEq for TypeQualifiers
Source§fn eq(&self, other: &TypeQualifiers) -> bool
fn eq(&self, other: &TypeQualifiers) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TypeQualifiers
Auto Trait Implementations§
impl Freeze for TypeQualifiers
impl RefUnwindSafe for TypeQualifiers
impl Send for TypeQualifiers
impl Sync for TypeQualifiers
impl Unpin for TypeQualifiers
impl UnsafeUnpin for TypeQualifiers
impl UnwindSafe for TypeQualifiers
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