Struct rustpython_ast::Alias
source · pub struct Alias<R = TextRange> {
pub range: R,
pub name: Identifier,
pub asname: Option<Identifier>,
}
Expand description
See also alias
Fields§
§range: R
§name: Identifier
§asname: Option<Identifier>
Trait Implementations§
source§impl<R: PartialEq> PartialEq for Alias<R>
impl<R: PartialEq> PartialEq for Alias<R>
impl<R> StructuralPartialEq for Alias<R>
Auto Trait Implementations§
impl<R> Freeze for Alias<R>where
R: Freeze,
impl<R> RefUnwindSafe for Alias<R>where
R: RefUnwindSafe,
impl<R> Send for Alias<R>where
R: Send,
impl<R> Sync for Alias<R>where
R: Sync,
impl<R> Unpin for Alias<R>where
R: Unpin,
impl<R> UnwindSafe for Alias<R>where
R: UnwindSafe,
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