enum BlockLike {
Block,
NotBlock,
}Variants§
Implementations§
Source§impl BlockLike
impl BlockLike
fn is_block(self) -> bool
fn is_blocklike(kind: SyntaxKind) -> bool
Trait Implementations§
impl Copy for BlockLike
impl Eq for BlockLike
impl StructuralPartialEq for BlockLike
Auto Trait Implementations§
impl Freeze for BlockLike
impl RefUnwindSafe for BlockLike
impl Send for BlockLike
impl Sync for BlockLike
impl Unpin for BlockLike
impl UnwindSafe for BlockLike
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