pub struct BandedRowsStrategy {
pub even_color: Color,
pub odd_color: Option<Color>,
}Expand description
为表格应用交替行背景色。
Fields§
§even_color: ColorColor for even-numbered rows (0, 2, 4…).
odd_color: Option<Color>Color for odd-numbered rows (1, 3, 5…). None = transparent.
Implementations§
Trait Implementations§
Source§impl Clone for BandedRowsStrategy
impl Clone for BandedRowsStrategy
Source§fn clone(&self) -> BandedRowsStrategy
fn clone(&self) -> BandedRowsStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BandedRowsStrategy
impl Debug for BandedRowsStrategy
Auto Trait Implementations§
impl Freeze for BandedRowsStrategy
impl RefUnwindSafe for BandedRowsStrategy
impl Send for BandedRowsStrategy
impl Sync for BandedRowsStrategy
impl Unpin for BandedRowsStrategy
impl UnsafeUnpin for BandedRowsStrategy
impl UnwindSafe for BandedRowsStrategy
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