pub struct PrefixBlock(/* private fields */);Implementations§
Source§impl PrefixBlock
impl PrefixBlock
pub fn key(&self) -> Option<Key>
pub fn open_brace(&self) -> Option<SyntaxToken>
pub fn items(&self) -> AstChildren<Item> ⓘ
pub fn close_brace(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for PrefixBlock
impl AstNode for PrefixBlock
type Language = MicalLanguage
fn can_cast(kind: <Self::Language as Language>::Kind) -> bool
fn cast(node: SyntaxNode<Self::Language>) -> Option<Self>
fn syntax(&self) -> &SyntaxNode<Self::Language>
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for PrefixBlock
impl Clone for PrefixBlock
Source§fn clone(&self) -> PrefixBlock
fn clone(&self) -> PrefixBlock
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 PrefixBlock
impl Debug for PrefixBlock
Auto Trait Implementations§
impl Freeze for PrefixBlock
impl !RefUnwindSafe for PrefixBlock
impl !Send for PrefixBlock
impl !Sync for PrefixBlock
impl Unpin for PrefixBlock
impl UnsafeUnpin for PrefixBlock
impl !UnwindSafe for PrefixBlock
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