pub struct CustomCategory {
pub name: &'static str,
pub color: (f64, f64, f64),
}
Fields§
§name: &'static str
§color: (f64, f64, f64)
Trait Implementations§
Source§impl Clone for CustomCategory
impl Clone for CustomCategory
Source§fn clone(&self) -> CustomCategory
fn clone(&self) -> CustomCategory
Returns a duplicate 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 Debug for CustomCategory
impl Debug for CustomCategory
Source§impl Serialize for CustomCategory
impl Serialize for CustomCategory
impl Copy for CustomCategory
Auto Trait Implementations§
impl Freeze for CustomCategory
impl RefUnwindSafe for CustomCategory
impl Send for CustomCategory
impl Sync for CustomCategory
impl Unpin for CustomCategory
impl UnwindSafe for CustomCategory
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