Struct barcoders::generators::svg::Color
source · pub struct Color {
pub rgba: [u8; 4],
}
Expand description
Represents a RGBA color for the barcode foreground and background.
Fields§
§rgba: [u8; 4]
Reg, Green, Blue, Alpha value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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