pub struct InitColor {
pub do_initialize: bool,
pub alpha: u32,
pub image_values: Vec<u32>,
}Expand description
InitColor: how blocks that are not stored start out.
Fields§
§do_initialize: boolNot stored blocks are filled (DoInitialize).
alpha: u32Alpha of a not stored pixel (0xFFFFFFFF = opaque, as on paper).
image_values: Vec<u32>Colour values of a not stored pixel.
Trait Implementations§
impl Eq for InitColor
impl StructuralPartialEq for InitColor
Auto Trait Implementations§
impl Freeze for InitColor
impl RefUnwindSafe for InitColor
impl Send for InitColor
impl Sync for InitColor
impl Unpin for InitColor
impl UnsafeUnpin for InitColor
impl UnwindSafe for InitColor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.