[−][src]Struct cargo_up::Version
Implementations
impl Version[src]
pub fn new(version: &str) -> Result<Self, SemVerError>[src]
impl Version[src]
pub fn peers(self, peers: &[&str]) -> Self[src]
pub fn rename_structs(self, name: &str, map: &[[&str; 2]]) -> Self[src]
pub fn rename_methods(self, name: &str, map: &[[&str; 2]]) -> Self[src]
pub fn rename_members(self, name: &str, map: &[[&str; 2]]) -> Self[src]
pub fn rename_variants(self, name: &str, map: &[[&str; 2]]) -> Self[src]
impl Version[src]
pub fn hook_method_call_expr<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &MethodCallExpr, &Semantics<'_>) + 'static, [src]
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, [src]
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, [src]
F: Fn(&mut Upgrader, &IdentPat, &Semantics<'_>) + 'static,
pub fn hook_path<F>(self, f: F) -> Self where
F: Fn(&mut Upgrader, &Path, &Semantics<'_>) + 'static, [src]
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, [src]
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, [src]
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, [src]
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, [src]
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, [src]
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, [src]
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, [src]
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, [src]
F: Fn(&mut Upgrader, &TupleStructPat, &Semantics<'_>) + 'static,
Auto Trait Implementations
impl !RefUnwindSafe for Version
impl !Send for Version
impl !Sync for Version
impl Unpin for Version
impl !UnwindSafe for Version
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Cast for T
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Self: CastTo<U>,
U: HasInterner,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,