pub struct GridProperties {
pub grid_type: GridType,
pub color: (u8, u8, u8),
pub opacity: f32,
pub line_count: (usize, usize),
}Expand description
Grid properties
Fields§
§grid_type: GridTypeGrid type
color: (u8, u8, u8)Grid color
opacity: f32Grid opacity
line_count: (usize, usize)Grid line count
Trait Implementations§
Source§impl Clone for GridProperties
impl Clone for GridProperties
Source§fn clone(&self) -> GridProperties
fn clone(&self) -> GridProperties
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 moreAuto Trait Implementations§
impl Freeze for GridProperties
impl RefUnwindSafe for GridProperties
impl Send for GridProperties
impl Sync for GridProperties
impl Unpin for GridProperties
impl UnwindSafe for GridProperties
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