pub struct AttributeOption { /* private fields */ }
Implementations§
Source§impl AttributeOption
impl AttributeOption
pub fn eq_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for AttributeOption
impl AstNode for AttributeOption
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for AttributeOption
impl Clone for AttributeOption
Source§fn clone(&self) -> AttributeOption
fn clone(&self) -> AttributeOption
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 AttributeOption
impl Debug for AttributeOption
Source§impl Hash for AttributeOption
impl Hash for AttributeOption
Source§impl PartialEq for AttributeOption
impl PartialEq for AttributeOption
impl Eq for AttributeOption
impl StructuralPartialEq for AttributeOption
Auto Trait Implementations§
impl Freeze for AttributeOption
impl !RefUnwindSafe for AttributeOption
impl !Send for AttributeOption
impl !Sync for AttributeOption
impl Unpin for AttributeOption
impl !UnwindSafe for AttributeOption
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