Struct wasm4_sx::DrawColors
source · pub struct DrawColors(_);
Expand description
Draw colors.
Implementations§
source§impl DrawColors
impl DrawColors
sourcepub fn builder() -> DrawColorsBuilder
pub fn builder() -> DrawColorsBuilder
Create a new draw colors builder.
Trait Implementations§
source§impl Clone for DrawColors
impl Clone for DrawColors
source§fn clone(&self) -> DrawColors
fn clone(&self) -> DrawColors
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 Default for DrawColors
impl Default for DrawColors
source§fn default() -> DrawColors
fn default() -> DrawColors
Returns the “default value” for a type. Read more
source§impl From<DrawColors> for u16
impl From<DrawColors> for u16
source§fn from(value: DrawColors) -> Self
fn from(value: DrawColors) -> Self
Converts to this type from the input type.
source§impl From<u16> for DrawColors
impl From<u16> for DrawColors
source§impl Hash for DrawColors
impl Hash for DrawColors
source§impl Ord for DrawColors
impl Ord for DrawColors
source§fn cmp(&self, other: &DrawColors) -> Ordering
fn cmp(&self, other: &DrawColors) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DrawColors> for DrawColors
impl PartialEq<DrawColors> for DrawColors
source§fn eq(&self, other: &DrawColors) -> bool
fn eq(&self, other: &DrawColors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DrawColors> for DrawColors
impl PartialOrd<DrawColors> for DrawColors
source§fn partial_cmp(&self, other: &DrawColors) -> Option<Ordering>
fn partial_cmp(&self, other: &DrawColors) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DrawColors
impl StructuralEq for DrawColors
impl StructuralPartialEq for DrawColors
Auto Trait Implementations§
impl RefUnwindSafe for DrawColors
impl Send for DrawColors
impl Sync for DrawColors
impl Unpin for DrawColors
impl UnwindSafe for DrawColors
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