pub struct EditorInfoColors {
pub foreground: Option<String>,
pub border: Option<String>,
pub background: Option<String>,
}Fields§
§foreground: Option<String>Foreground color of info squiggles in the editor.
border: Option<String>Border color of info boxes in the editor.
background: Option<String>Background color of info text in the editor. The color must not be opaque so as not to hide underlying decorations.
Trait Implementations§
Source§impl Clone for EditorInfoColors
impl Clone for EditorInfoColors
Source§fn clone(&self) -> EditorInfoColors
fn clone(&self) -> EditorInfoColors
Returns a duplicate 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 EditorInfoColors
impl Debug for EditorInfoColors
Source§impl<'de> Deserialize<'de> for EditorInfoColors
impl<'de> Deserialize<'de> for EditorInfoColors
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 EditorInfoColors
impl RefUnwindSafe for EditorInfoColors
impl Send for EditorInfoColors
impl Sync for EditorInfoColors
impl Unpin for EditorInfoColors
impl UnwindSafe for EditorInfoColors
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