pub enum Subspec {
Bind(String),
BindRef(String),
BindTyped(String, Type),
BindRefTyped(String, Type),
Destruct(Vec<Subspec>),
LiteralRequirement(SpannedExpr),
Ignore,
ThisRef(String),
}Expand description
a function spec
Variants§
Bind(String)
BindRef(String)
BindTyped(String, Type)
BindRefTyped(String, Type)
Destruct(Vec<Subspec>)
LiteralRequirement(SpannedExpr)
Ignore
ThisRef(String)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Subspec
impl !RefUnwindSafe for Subspec
impl !Send for Subspec
impl !Sync for Subspec
impl Unpin for Subspec
impl !UnwindSafe for Subspec
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