pub struct PartitionOf { /* private fields */ }
Implementations§
Source§impl PartitionOf
impl PartitionOf
pub fn ty(&self) -> Option<Type>
pub fn of_token(&self) -> Option<SyntaxToken>
pub fn partition_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for PartitionOf
impl AstNode for PartitionOf
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 PartitionOf
impl Clone for PartitionOf
Source§fn clone(&self) -> PartitionOf
fn clone(&self) -> PartitionOf
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 PartitionOf
impl Debug for PartitionOf
Source§impl Hash for PartitionOf
impl Hash for PartitionOf
Source§impl PartialEq for PartitionOf
impl PartialEq for PartitionOf
impl Eq for PartitionOf
impl StructuralPartialEq for PartitionOf
Auto Trait Implementations§
impl Freeze for PartitionOf
impl !RefUnwindSafe for PartitionOf
impl !Send for PartitionOf
impl !Sync for PartitionOf
impl Unpin for PartitionOf
impl !UnwindSafe for PartitionOf
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