pub struct PercentType { /* private fields */ }
Implementations§
Source§impl PercentType
impl PercentType
pub fn percent_token(&self) -> Option<SyntaxToken>
pub fn type_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for PercentType
impl AstNode for PercentType
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 PercentType
impl Clone for PercentType
Source§fn clone(&self) -> PercentType
fn clone(&self) -> PercentType
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 PercentType
impl Debug for PercentType
Source§impl From<PercentType> for Type
impl From<PercentType> for Type
Source§fn from(node: PercentType) -> Type
fn from(node: PercentType) -> Type
Converts to this type from the input type.
Source§impl Hash for PercentType
impl Hash for PercentType
Source§impl PartialEq for PercentType
impl PartialEq for PercentType
impl Eq for PercentType
impl StructuralPartialEq for PercentType
Auto Trait Implementations§
impl Freeze for PercentType
impl !RefUnwindSafe for PercentType
impl !Send for PercentType
impl !Sync for PercentType
impl Unpin for PercentType
impl !UnwindSafe for PercentType
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