pub struct Key { /* private fields */ }
Implementations§
source§impl Key
impl Key
pub fn text_ranges(&self) -> impl ExactSizeIterator<Item = TextRange>
pub fn join(&self, key: impl Into<KeyOrIndex>) -> Keys
Trait Implementations§
source§impl From<Key> for KeyOrIndex
impl From<Key> for KeyOrIndex
source§impl FromSyntax for Key
impl FromSyntax for Key
fn from_syntax(syntax: SyntaxElement) -> Self
source§impl PartialEq for Key
impl PartialEq for Key
impl Eq for Key
Auto Trait Implementations§
impl !RefUnwindSafe for Key
impl !Send for Key
impl !Sync for Key
impl Unpin for Key
impl !UnwindSafe for Key
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