pub struct AlterTypeRename {
pub new_name: Ident,
}Expand description
Fields§
§new_name: IdentThe new name for the type.
Trait Implementations§
Source§impl Clone for AlterTypeRename
impl Clone for AlterTypeRename
Source§fn clone(&self) -> AlterTypeRename
fn clone(&self) -> AlterTypeRename
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 AlterTypeRename
impl Debug for AlterTypeRename
Source§impl Hash for AlterTypeRename
impl Hash for AlterTypeRename
Source§impl Ord for AlterTypeRename
impl Ord for AlterTypeRename
Source§fn cmp(&self, other: &AlterTypeRename) -> Ordering
fn cmp(&self, other: &AlterTypeRename) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AlterTypeRename
impl PartialEq for AlterTypeRename
Source§impl PartialOrd for AlterTypeRename
impl PartialOrd for AlterTypeRename
Source§impl Visit for AlterTypeRename
impl Visit for AlterTypeRename
Source§impl VisitMut for AlterTypeRename
impl VisitMut for AlterTypeRename
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Eq for AlterTypeRename
impl StructuralPartialEq for AlterTypeRename
Auto Trait Implementations§
impl Freeze for AlterTypeRename
impl RefUnwindSafe for AlterTypeRename
impl Send for AlterTypeRename
impl Sync for AlterTypeRename
impl Unpin for AlterTypeRename
impl UnsafeUnpin for AlterTypeRename
impl UnwindSafe for AlterTypeRename
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