Struct cargo_up::Version [−][src]
pub struct Version { /* fields omitted */ }Implementations
pub fn hook_method_call_expr<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &MethodCallExpr, &Semantics<'_>) + 'static,
pub fn hook_method_call_expr_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &MethodCallExpr, &Semantics<'_>) + 'static,
pub fn hook_call_expr<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &CallExpr, &Semantics<'_>) + 'static,
pub fn hook_call_expr_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &CallExpr, &Semantics<'_>) + 'static,
pub fn hook_ident_pat<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &IdentPat, &Semantics<'_>) + 'static,
pub fn hook_ident_pat_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &IdentPat, &Semantics<'_>) + 'static,
pub fn hook_path<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &Path, &Semantics<'_>) + 'static,
pub fn hook_path_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &Path, &Semantics<'_>) + 'static,
pub fn hook_path_expr<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &PathExpr, &Semantics<'_>) + 'static,
pub fn hook_path_expr_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &PathExpr, &Semantics<'_>) + 'static,
pub fn hook_path_pat<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &PathPat, &Semantics<'_>) + 'static,
pub fn hook_path_pat_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &PathPat, &Semantics<'_>) + 'static,
pub fn hook_field_expr<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &FieldExpr, &Semantics<'_>) + 'static,
pub fn hook_field_expr_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &FieldExpr, &Semantics<'_>) + 'static,
pub fn hook_record_pat<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &RecordPat, &Semantics<'_>) + 'static,
pub fn hook_record_pat_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &RecordPat, &Semantics<'_>) + 'static,
pub fn hook_record_expr<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &RecordExpr, &Semantics<'_>) + 'static,
pub fn hook_record_expr_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &RecordExpr, &Semantics<'_>) + 'static,
pub fn hook_record_expr_field<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &RecordExprField, &Semantics<'_>) + 'static,
pub fn hook_record_expr_field_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &RecordExprField, &Semantics<'_>) + 'static,
pub fn hook_record_pat_field<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &RecordPatField, &Semantics<'_>) + 'static,
pub fn hook_record_pat_field_on<F>(self, path: &str, name: &str, f: F) -> Self where
F: Fn(&mut Upgrader, &RecordPatField, &Semantics<'_>) + 'static,
pub fn hook_tuple_struct_pat<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &TupleStructPat, &Semantics<'_>) + 'static,
Auto Trait Implementations
impl !RefUnwindSafe for Version
impl !UnwindSafe for Version
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U using CastTo.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more