Struct retroimg::color::BackForePalette
source · [−]pub struct BackForePalette<B, F>(_, _);
Expand description
Color depth emulating a combination of one freely selectable
background color (B
) with any of the other colors (F
).
Trait Implementations
sourceimpl<B: Clone, F: Clone> Clone for BackForePalette<B, F>
impl<B: Clone, F: Clone> Clone for BackForePalette<B, F>
sourcefn clone(&self) -> BackForePalette<B, F>
fn clone(&self) -> BackForePalette<B, F>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<B, F> ColorDepth for BackForePalette<B, F> where
B: AsRef<[[u8; 3]]>,
F: AsRef<[[u8; 3]]>,
impl<B, F> ColorDepth for BackForePalette<B, F> where
B: AsRef<[[u8; 3]]>,
F: AsRef<[[u8; 3]]>,
sourceimpl<B: Debug, F: Debug> Debug for BackForePalette<B, F>
impl<B: Debug, F: Debug> Debug for BackForePalette<B, F>
impl<B: Copy, F: Copy> Copy for BackForePalette<B, F>
Auto Trait Implementations
impl<B, F> RefUnwindSafe for BackForePalette<B, F> where
B: RefUnwindSafe,
F: RefUnwindSafe,
impl<B, F> Send for BackForePalette<B, F> where
B: Send,
F: Send,
impl<B, F> Sync for BackForePalette<B, F> where
B: Sync,
F: Sync,
impl<B, F> Unpin for BackForePalette<B, F> where
B: Unpin,
F: Unpin,
impl<B, F> UnwindSafe for BackForePalette<B, F> where
B: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more