pub struct TypeLit {
pub span: Span,
pub tags: Vec<PropOrParam>,
pub is_array_type: bool,
}
Fields
span: Span
is_array_type: bool
If true, then this type literal represents an array of its type.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TypeLit
impl<'de> Deserialize<'de> for TypeLit
sourcefn 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
impl StructuralPartialEq for TypeLit
Auto Trait Implementations
impl RefUnwindSafe for TypeLit
impl Send for TypeLit
impl Sync for TypeLit
impl Unpin for TypeLit
impl UnwindSafe for TypeLit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more