pub struct TraitSchema {
pub name: String,
pub functions: Vec<FunctionSchema>,
pub generics: Vec<GenericParamSchema>,
pub supertraits: Vec<TypeSchema>,
}Fields§
§name: String§functions: Vec<FunctionSchema>§generics: Vec<GenericParamSchema>§supertraits: Vec<TypeSchema>Trait Implementations§
Source§impl Clone for TraitSchema
impl Clone for TraitSchema
Source§fn clone(&self) -> TraitSchema
fn clone(&self) -> TraitSchema
Returns a duplicate 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 TraitSchema
impl Debug for TraitSchema
Source§impl Into<TokenStream> for TraitSchema
impl Into<TokenStream> for TraitSchema
Source§fn into(self) -> TokenStream
fn into(self) -> TokenStream
Convert a trait schema into tokens that instantiate the schema at compile time.
Auto Trait Implementations§
impl Freeze for TraitSchema
impl RefUnwindSafe for TraitSchema
impl Send for TraitSchema
impl Sync for TraitSchema
impl Unpin for TraitSchema
impl UnwindSafe for TraitSchema
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