Struct donet_core::parser::ast::SymbolWithViews
source · pub struct SymbolWithViews {
pub span: Span,
pub symbol: String,
pub symbol_views: Vec<ViewSuffix>,
}
Expand description
Paired with the py_module
and dclass_import
productions in the Context Free Grammar.
Fields§
§span: Span
§symbol: String
§symbol_views: Vec<ViewSuffix>
Trait Implementations§
source§impl Clone for SymbolWithViews
impl Clone for SymbolWithViews
source§fn clone(&self) -> SymbolWithViews
fn clone(&self) -> SymbolWithViews
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for SymbolWithViews
impl RefUnwindSafe for SymbolWithViews
impl Send for SymbolWithViews
impl Sync for SymbolWithViews
impl Unpin for SymbolWithViews
impl UnwindSafe for SymbolWithViews
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)