pub enum OpenIntent {
Switch {
readonly: bool,
},
Split {
vertical: bool,
},
AtLine {
line: LineIndex,
},
Refresh,
Browse,
DirectoryParent {
child: RemoteFile,
},
RemoteDestination,
RemoteView {
view: RemoteView,
line: Option<LineIndex>,
},
Grep {
line: LineIndex,
column: ByteColumn,
},
SearchHit(ReplacementHit),
LspLocation {
context: ReplyContext,
position: ServerPosition,
},
CollectionSource {
owner: WorkerId,
},
}Variants§
Switch
Split
AtLine
Refresh
Browse
DirectoryParent
Fields
§
child: RemoteFileRemoteDestination
RemoteView
Grep
SearchHit(ReplacementHit)
LspLocation
CollectionSource
Open without focus (0044 v2): collection builds load sources in the background; the picker keeps focus and focus never moves.
Trait Implementations§
Source§impl Clone for OpenIntent
impl Clone for OpenIntent
Source§fn clone(&self) -> OpenIntent
fn clone(&self) -> OpenIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenIntent
impl Debug for OpenIntent
Source§impl<'de> Deserialize<'de> for OpenIntent
impl<'de> Deserialize<'de> for OpenIntent
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
impl Eq for OpenIntent
Source§impl PartialEq for OpenIntent
impl PartialEq for OpenIntent
Source§impl Serialize for OpenIntent
impl Serialize for OpenIntent
impl StructuralPartialEq for OpenIntent
Auto Trait Implementations§
impl Freeze for OpenIntent
impl RefUnwindSafe for OpenIntent
impl Send for OpenIntent
impl Sync for OpenIntent
impl Unpin for OpenIntent
impl UnsafeUnpin for OpenIntent
impl UnwindSafe for OpenIntent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.