pub struct Seed { /* private fields */ }Implementations§
Source§impl Seed
impl Seed
Sourcepub fn capture(editor: &Editor) -> Result<Self>
pub fn capture(editor: &Editor) -> Result<Self>
Capture the startup state. This is only legal at the seed boundary: pickers, LSP servers, git surfaces and in-flight discovery mean services already started and the recording is not a full replay.
Sourcepub fn input_text(&self) -> Result<&str>
pub fn input_text(&self) -> Result<&str>
Input-only extraction begins with the active startup document, not a lazily emitted diagnostic snapshot after the first key.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Seed
impl<'de> Deserialize<'de> for Seed
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Seed
impl RefUnwindSafe for Seed
impl Send for Seed
impl Sync for Seed
impl Unpin for Seed
impl UnsafeUnpin for Seed
impl UnwindSafe for Seed
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