pub enum Derived {
Pointer {
quals: Quals,
attrs: AttrList,
},
Array {
size: ArraySize,
quals: Quals,
has_static: bool,
},
Function {
params: ParamList,
variadic: bool,
kind: ParamKind,
},
}Expand description
One step in a declarator, taking a type to another type.
Variants§
Pointer
*, with the qualifiers that go on the pointer rather than on what it points at.
Fields
Array
[...].
Fields
Function
(...).
Trait Implementations§
impl Copy for Derived
impl Eq for Derived
impl StructuralPartialEq for Derived
Auto Trait Implementations§
impl Freeze for Derived
impl RefUnwindSafe for Derived
impl Send for Derived
impl Sync for Derived
impl Unpin for Derived
impl UnsafeUnpin for Derived
impl UnwindSafe for Derived
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