pub enum Type {
Plain,
Array(isize),
Pointer,
}
Expand description
Different types of types that can be declared.
Variants§
Plain
A plain type, such as int
or double
.
Array(isize)
An array type, such as char[]
or int[]
. -1
should be used as the size argument if
a size should be declared implicitly.
Pointer
A pointer type, such as char*
or int*
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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