Struct lu_formats::files::lvl::EditorSettings
source · pub struct EditorSettings {
pub chunk_size: u32,
pub num_saved_colors: u32,
pub saved_colors: Vec<Color>,
}
Expand description
Fields§
§chunk_size: u32
§num_saved_colors: u32
§saved_colors: Vec<Color>
Repeat-Expr: num_saved_colors
Trait Implementations§
source§impl Clone for EditorSettings
impl Clone for EditorSettings
source§fn clone(&self) -> EditorSettings
fn clone(&self) -> EditorSettings
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 EditorSettings
impl Debug for EditorSettings
source§impl<'de> Deserialize<'de> for EditorSettings
impl<'de> Deserialize<'de> for EditorSettings
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
source§impl PartialEq<EditorSettings> for EditorSettings
impl PartialEq<EditorSettings> for EditorSettings
source§fn eq(&self, other: &EditorSettings) -> bool
fn eq(&self, other: &EditorSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EditorSettings
impl Serialize for EditorSettings
impl StructuralPartialEq for EditorSettings
Auto Trait Implementations§
impl RefUnwindSafe for EditorSettings
impl Send for EditorSettings
impl Sync for EditorSettings
impl Unpin for EditorSettings
impl UnwindSafe for EditorSettings
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