Struct xplr::app::LuaContextHeavy
source · pub struct LuaContextHeavy {Show 15 fields
pub version: String,
pub pwd: String,
pub initial_pwd: String,
pub vroot: Option<String>,
pub focused_node: Option<Node>,
pub directory_buffer: Option<DirectoryBuffer>,
pub selection: IndexSet<Node>,
pub mode: Mode,
pub layout: Layout,
pub input_buffer: Option<String>,
pub pid: u32,
pub session_path: String,
pub explorer_config: ExplorerConfig,
pub history: History,
pub last_modes: Vec<Mode>,
}
Fields§
§version: String
§pwd: String
§initial_pwd: String
§vroot: Option<String>
§focused_node: Option<Node>
§directory_buffer: Option<DirectoryBuffer>
§selection: IndexSet<Node>
§mode: Mode
§layout: Layout
§input_buffer: Option<String>
§pid: u32
§session_path: String
§explorer_config: ExplorerConfig
§history: History
§last_modes: Vec<Mode>
Trait Implementations§
source§impl Clone for LuaContextHeavy
impl Clone for LuaContextHeavy
source§fn clone(&self) -> LuaContextHeavy
fn clone(&self) -> LuaContextHeavy
Returns a copy 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 moresource§impl Debug for LuaContextHeavy
impl Debug for LuaContextHeavy
Auto Trait Implementations§
impl Freeze for LuaContextHeavy
impl RefUnwindSafe for LuaContextHeavy
impl Send for LuaContextHeavy
impl Sync for LuaContextHeavy
impl Unpin for LuaContextHeavy
impl UnwindSafe for LuaContextHeavy
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more