pub struct OwnedSource(/* private fields */);Expand description
Source text with no AST — returned by consumers (e.g. the LSP) when the input is available but parsing failed.
Implementations§
Trait Implementations§
Source§impl Clone for OwnedSource
impl Clone for OwnedSource
Source§fn clone(&self) -> OwnedSource
fn clone(&self) -> OwnedSource
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 moreAuto Trait Implementations§
impl Freeze for OwnedSource
impl RefUnwindSafe for OwnedSource
impl Send for OwnedSource
impl Sync for OwnedSource
impl Unpin for OwnedSource
impl UnsafeUnpin for OwnedSource
impl UnwindSafe for OwnedSource
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