pub struct Grid { /* private fields */ }
Implementations§
Source§impl Grid
impl Grid
pub fn new() -> Self
pub fn show(self, show: bool) -> Self
pub fn zlevel<F: Into<i64>>(self, zlevel: F) -> Self
pub fn z<F: Into<i64>>(self, z: F) -> Self
pub fn left<C: Into<CompositeValue>>(self, left: C) -> Self
pub fn right<C: Into<CompositeValue>>(self, right: C) -> Self
pub fn top<C: Into<CompositeValue>>(self, top: C) -> Self
pub fn bottom<C: Into<CompositeValue>>(self, bottom: C) -> Self
pub fn width<C: Into<CompositeValue>>(self, width: C) -> Self
pub fn height<C: Into<CompositeValue>>(self, height: C) -> Self
pub fn contain_label(self, contain_label: bool) -> Self
pub fn background_color<C: Into<Color>>(self, background_color: C) -> Self
pub fn border_color<C: Into<Color>>(self, border_color: C) -> Self
pub fn border_width<F: Into<i64>>(self, border_width: F) -> Self
pub fn shadow_blur<F: Into<i64>>(self, shadow_blur: F) -> Self
pub fn shadow_color<C: Into<Color>>(self, shadow_color: C) -> Self
pub fn shadow_offset_x<F: Into<i64>>(self, shadow_offset_x: F) -> Self
pub fn shadow_offset_y<F: Into<i64>>(self, shadow_offset_y: F) -> Self
pub fn tooltip<T: Into<GridTooltip>>(self, tooltip: T) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Grid
impl RefUnwindSafe for Grid
impl Send for Grid
impl Sync for Grid
impl Unpin for Grid
impl UnwindSafe for Grid
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more