pub struct WorldIncludeItem<'a> {
pub from: Ident<'a>,
pub to: Ident<'a>,
}
Expand description
Represents a renaming of an included name.
Fields§
§from: Ident<'a>
The from
name for the included item.
to: Ident<'a>
The to
name for the included item.
Trait Implementations§
Source§impl<'a> Clone for WorldIncludeItem<'a>
impl<'a> Clone for WorldIncludeItem<'a>
Source§fn clone(&self) -> WorldIncludeItem<'a>
fn clone(&self) -> WorldIncludeItem<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for WorldIncludeItem<'a>
impl<'a> Debug for WorldIncludeItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for WorldIncludeItem<'a>
impl<'a> RefUnwindSafe for WorldIncludeItem<'a>
impl<'a> Send for WorldIncludeItem<'a>
impl<'a> Sync for WorldIncludeItem<'a>
impl<'a> Unpin for WorldIncludeItem<'a>
impl<'a> UnwindSafe for WorldIncludeItem<'a>
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