Struct xplr::config::Mode [−][src]
pub struct Mode { /* fields omitted */ }
Implementations
impl Mode
[src]
impl Mode
[src]pub fn sanitized(self, read_only: bool) -> Self
[src]
pub fn help_menu(&self) -> Vec<HelpMenuLine>
[src]
pub fn name(&self) -> &String
[src]
Get a reference to the mode’s name.
pub fn help(&self) -> &Option<String>
[src]
Get a reference to the mode’s help.
pub fn extra_help(&self) -> &Option<String>
[src]
Get a reference to the mode’s extra help.
pub fn key_bindings(&self) -> &KeyBindings
[src]
Get a reference to the mode’s key bindings.
Trait Implementations
impl<'de> Deserialize<'de> for Mode
[src]
impl<'de> Deserialize<'de> for Mode
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl RefUnwindSafe for Mode
impl UnwindSafe for Mode
impl UnwindSafe for Mode
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]