Struct gull::prelude::TypeDeclaration
source · pub struct TypeDeclaration {
pub name: &'static str,
pub docs: &'static str,
pub value: DeclarationValue,
pub config: Vec<TypeDeclarationConfig>,
pub generic_params: Vec<TGeneric>,
}
Fields§
§name: &'static str
§docs: &'static str
§value: DeclarationValue
§config: Vec<TypeDeclarationConfig>
§generic_params: Vec<TGeneric>
Trait Implementations§
source§impl Clone for TypeDeclaration
impl Clone for TypeDeclaration
source§fn clone(&self) -> TypeDeclaration
fn clone(&self) -> TypeDeclaration
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 moreAuto Trait Implementations§
impl RefUnwindSafe for TypeDeclaration
impl Send for TypeDeclaration
impl Sync for TypeDeclaration
impl Unpin for TypeDeclaration
impl UnwindSafe for TypeDeclaration
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