pub struct TypeAliasDef {
pub name: String,
pub doc_comment: Option<DocComment>,
pub type_params: Option<Vec<TypeParam>>,
pub type_annotation: TypeAnnotation,
pub meta_param_overrides: Option<HashMap<String, Expr>>,
}Fields§
§name: String§doc_comment: Option<DocComment>§type_params: Option<Vec<TypeParam>>§type_annotation: TypeAnnotation§meta_param_overrides: Option<HashMap<String, Expr>>Meta parameter overrides: type Percent4 = Percent { decimals: 4 }
Trait Implementations§
Source§impl Clone for TypeAliasDef
impl Clone for TypeAliasDef
Source§fn clone(&self) -> TypeAliasDef
fn clone(&self) -> TypeAliasDef
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 TypeAliasDef
impl Debug for TypeAliasDef
Source§impl<'de> Deserialize<'de> for TypeAliasDef
impl<'de> Deserialize<'de> for TypeAliasDef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TypeAliasDef
impl RefUnwindSafe for TypeAliasDef
impl Send for TypeAliasDef
impl Sync for TypeAliasDef
impl Unpin for TypeAliasDef
impl UnsafeUnpin for TypeAliasDef
impl UnwindSafe for TypeAliasDef
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