pub enum PreDeclTypeSpec {
Mono(Identifier),
Poly(PolyTypeSpec),
Attr {
namespace: Box<Expr>,
t: Identifier,
},
Subscr {
namespace: Box<Expr>,
ident: Identifier,
index: Token,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PreDeclTypeSpec
impl Clone for PreDeclTypeSpec
Source§fn clone(&self) -> PreDeclTypeSpec
fn clone(&self) -> PreDeclTypeSpec
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 PreDeclTypeSpec
impl Debug for PreDeclTypeSpec
Source§impl Display for PreDeclTypeSpec
impl Display for PreDeclTypeSpec
Source§impl Hash for PreDeclTypeSpec
impl Hash for PreDeclTypeSpec
Source§impl Locational for PreDeclTypeSpec
impl Locational for PreDeclTypeSpec
Source§impl PartialEq for PreDeclTypeSpec
impl PartialEq for PreDeclTypeSpec
impl Eq for PreDeclTypeSpec
impl StructuralPartialEq for PreDeclTypeSpec
Auto Trait Implementations§
impl Freeze for PreDeclTypeSpec
impl RefUnwindSafe for PreDeclTypeSpec
impl Send for PreDeclTypeSpec
impl Sync for PreDeclTypeSpec
impl Unpin for PreDeclTypeSpec
impl UnwindSafe for PreDeclTypeSpec
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