pub enum TypeSpecifier {
Show 17 variants
Void,
Char,
Short,
Int,
Long,
Float,
Double,
Signed,
Unsigned,
Bool,
Complex,
Atomic(Node<TypeName>),
Struct(Node<StructType>),
Enum(Node<EnumType>),
TypedefName(Node<Identifier>),
TypeOf(Node<TypeOf>),
TS18661Float(TS18661FloatType),
}
Expand description
Type specifier
(C11 6.7.2)
Variants§
Void
void
Char
char
Short
short
Int
int
Long
long
Float
float
Double
double
Signed
signed
__signed
, __signed__
(GNU extension)
Unsigned
unsigned
Bool
_Bool
Complex
_Complex
__complex
, __complex__
(GNU extension)
Atomic(Node<TypeName>)
_Atomic(typename)
Struct(Node<StructType>)
struct identifier { … }
union identifier { … }
Enum(Node<EnumType>)
enum identifier { … }
TypedefName(Node<Identifier>)
Name of a previously defined type
TypeOf(Node<TypeOf>)
Specifies type of another type or expression
TS18661Float(TS18661FloatType)
Floating point types with guaranteed width and representation
_Float16
, _Float32
, _Float64
, _Float128
_Float16x
, _Float32x
, _Float64x
, _Float128x
_Decimal16
, _Decimal32
, _Decimal64
, _Decimal128
_Decimal16x
, _Decimal32x
, _Decimal64x
, _Decimal128x
Trait Implementations§
Source§impl Clone for TypeSpecifier
impl Clone for TypeSpecifier
Source§fn clone(&self) -> TypeSpecifier
fn clone(&self) -> TypeSpecifier
Returns a copy 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 TypeSpecifier
impl Debug for TypeSpecifier
Source§impl PartialEq for TypeSpecifier
impl PartialEq for TypeSpecifier
impl StructuralPartialEq for TypeSpecifier
Auto Trait Implementations§
impl Freeze for TypeSpecifier
impl RefUnwindSafe for TypeSpecifier
impl Send for TypeSpecifier
impl Sync for TypeSpecifier
impl Unpin for TypeSpecifier
impl UnwindSafe for TypeSpecifier
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