Struct dsntk_model::DcColor
source · pub struct DcColor {
pub red: u8,
pub green: u8,
pub blue: u8,
}Expand description
Defines RGB color.
Fields§
§red: u8§green: u8§blue: u8Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DcColor
impl RefUnwindSafe for DcColor
impl Send for DcColor
impl Sync for DcColor
impl Unpin for DcColor
impl UnwindSafe for DcColor
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)