Struct starlark_syntax::syntax::ast::AstNoPayload
source · pub struct AstNoPayload;
Expand description
Default implementation of payload, which attaches ()
to nodes.
This payload is returned with AST by parser.
Trait Implementations§
source§impl AstPayload for AstNoPayload
impl AstPayload for AstNoPayload
type LoadPayload = ()
type IdentPayload = ()
type IdentAssignPayload = ()
type DefPayload = ()
type TypeExprPayload = ()
source§impl Clone for AstNoPayload
impl Clone for AstNoPayload
source§fn clone(&self) -> AstNoPayload
fn clone(&self) -> AstNoPayload
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 moresource§impl Debug for AstNoPayload
impl Debug for AstNoPayload
source§impl PartialEq for AstNoPayload
impl PartialEq for AstNoPayload
source§fn eq(&self, other: &AstNoPayload) -> bool
fn eq(&self, other: &AstNoPayload) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AstNoPayload
impl Eq for AstNoPayload
impl StructuralPartialEq for AstNoPayload
Auto Trait Implementations§
impl RefUnwindSafe for AstNoPayload
impl Send for AstNoPayload
impl Sync for AstNoPayload
impl Unpin for AstNoPayload
impl UnwindSafe for AstNoPayload
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.