pub struct Palette {
pub filepath: Option<String>,
pub colors: [Color; 16],
}
Fields§
§filepath: Option<String>
§colors: [Color; 16]
Implementations§
Trait Implementations§
Source§impl FileReadable for Palette
impl FileReadable for Palette
Source§impl Readable for Palette
impl Readable for Palette
fn from_reader<R: ReaderExt>(reader: &mut R) -> Result<Self, GameFileError>where
Self: Sized,
impl Eq for Palette
impl StructuralPartialEq for Palette
Auto Trait Implementations§
impl Freeze for Palette
impl RefUnwindSafe for Palette
impl Send for Palette
impl Sync for Palette
impl Unpin for Palette
impl UnwindSafe for Palette
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