pub struct NotesConfig {
pub font_size: f32,
pub font_size_step: f32,
}Expand description
Notes panel configuration.
Fields§
§font_size: f32Font size in points.
font_size_step: f32Step size for font size increment/decrement.
Trait Implementations§
Source§impl Clone for NotesConfig
impl Clone for NotesConfig
Source§fn clone(&self) -> NotesConfig
fn clone(&self) -> NotesConfig
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 NotesConfig
impl Debug for NotesConfig
Source§impl Default for NotesConfig
impl Default for NotesConfig
Source§impl<'de> Deserialize<'de> for NotesConfigwhere
NotesConfig: Default,
impl<'de> Deserialize<'de> for NotesConfigwhere
NotesConfig: Default,
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 NotesConfig
impl RefUnwindSafe for NotesConfig
impl Send for NotesConfig
impl Sync for NotesConfig
impl Unpin for NotesConfig
impl UnsafeUnpin for NotesConfig
impl UnwindSafe for NotesConfig
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