pub struct KeywordPositions(/* private fields */);
Expand description
As parsing is forwards, this is ordered
Implementations§
Source§impl KeywordPositions
impl KeywordPositions
pub fn try_get_keyword_at_position(&self, pos: u32) -> Option<TSXKeyword>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeywordPositions
impl RefUnwindSafe for KeywordPositions
impl Send for KeywordPositions
impl Sync for KeywordPositions
impl Unpin for KeywordPositions
impl UnwindSafe for KeywordPositions
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