#[non_exhaustive]pub struct NotePenSettings {Show 14 fields
pub name: String,
pub size: f32,
pub color: u32,
pub curvable: bool,
pub advanced_setting: String,
pub eraser_enabled: bool,
pub size_level: i32,
pub particle_density: i32,
pub particle_size: Option<f32>,
pub fixed_width: Option<bool>,
pub hsv: [f32; 3],
pub color_ui_info: u32,
pub extension: Option<NotePenExtension>,
pub trailing_data: Vec<u8>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§size: f32§color: u32§curvable: bool§advanced_setting: String§eraser_enabled: bool§size_level: i32§particle_density: i32§particle_size: Option<f32>§fixed_width: Option<bool>§hsv: [f32; 3]§color_ui_info: u32§extension: Option<NotePenExtension>§trailing_data: Vec<u8>Trait Implementations§
Source§impl Clone for NotePenSettings
impl Clone for NotePenSettings
Source§impl Debug for NotePenSettings
impl Debug for NotePenSettings
Source§impl PartialEq for NotePenSettings
impl PartialEq for NotePenSettings
impl StructuralPartialEq for NotePenSettings
Auto Trait Implementations§
impl Freeze for NotePenSettings
impl RefUnwindSafe for NotePenSettings
impl Send for NotePenSettings
impl Sync for NotePenSettings
impl Unpin for NotePenSettings
impl UnsafeUnpin for NotePenSettings
impl UnwindSafe for NotePenSettings
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