pub enum FilePalette {
NoData,
ID(u16),
Name(String),
Colors,
}
Expand description
How palette data is stored in an ICI file
Variants§
NoData
Include no palette information
ID(u16)
Include palette id (reader will need to know what the id refers to)
Name(String)
Include palette name (reader will need to know what the name refers to) 1..=255 chars
Colors
Include palette colors
Trait Implementations§
Source§impl Clone for FilePalette
impl Clone for FilePalette
Source§fn clone(&self) -> FilePalette
fn clone(&self) -> FilePalette
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 FilePalette
impl Debug for FilePalette
Source§impl PartialEq for FilePalette
impl PartialEq for FilePalette
impl Eq for FilePalette
impl StructuralPartialEq for FilePalette
Auto Trait Implementations§
impl Freeze for FilePalette
impl RefUnwindSafe for FilePalette
impl Send for FilePalette
impl Sync for FilePalette
impl Unpin for FilePalette
impl UnwindSafe for FilePalette
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