Struct r3bl_rs_utils::EditorEngineConfig
source · pub struct EditorEngineConfig {
pub multiline_mode: LineMode,
pub syntax_highlight: SyntaxHighlightMode,
pub edit_mode: EditMode,
}Fields§
§multiline_mode: LineMode§syntax_highlight: SyntaxHighlightMode§edit_mode: EditModeTrait Implementations§
source§impl Clone for EditorEngineConfig
impl Clone for EditorEngineConfig
source§fn clone(&self) -> EditorEngineConfig
fn clone(&self) -> EditorEngineConfig
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 EditorEngineConfig
impl Debug for EditorEngineConfig
source§impl Default for EditorEngineConfig
impl Default for EditorEngineConfig
source§fn default() -> EditorEngineConfig
fn default() -> EditorEngineConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EditorEngineConfig
impl<'de> Deserialize<'de> for EditorEngineConfig
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EditorEngineConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<EditorEngineConfig, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for EditorEngineConfig
impl PartialEq for EditorEngineConfig
source§fn eq(&self, other: &EditorEngineConfig) -> bool
fn eq(&self, other: &EditorEngineConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EditorEngineConfig
impl Serialize for EditorEngineConfig
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for EditorEngineConfig
impl StructuralEq for EditorEngineConfig
impl StructuralPartialEq for EditorEngineConfig
Auto Trait Implementations§
impl RefUnwindSafe for EditorEngineConfig
impl Send for EditorEngineConfig
impl Sync for EditorEngineConfig
impl Unpin for EditorEngineConfig
impl UnwindSafe for EditorEngineConfig
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.