pub struct Grid { /* private fields */ }Implementations§
Source§impl Grid
impl Grid
pub fn new() -> Self
pub fn element_ref(self, reference: &ElementRef<Self>) -> Self
pub fn row_spacing(self, value: impl Into<Option<f64>>) -> Self
pub fn column_spacing(self, value: impl Into<Option<f64>>) -> Self
pub fn key_accelerators(self, value: impl Into<Option<KeyAccelerators>>) -> Self
pub fn background(self, value: impl Into<Brush>) -> Self
pub fn background_optional<T>(self, value: Option<T>) -> Self
pub fn rows(self, values: impl IntoIterator<Item = GridLength>) -> Self
pub fn rows_optional<T>(self, values: Option<T>) -> Selfwhere
T: IntoIterator<Item = GridLength>,
pub fn columns(self, values: impl IntoIterator<Item = GridLength>) -> Self
pub fn columns_optional<T>(self, values: Option<T>) -> Selfwhere
T: IntoIterator<Item = GridLength>,
Trait Implementations§
Source§impl ChildrenControl for Grid
impl ChildrenControl for Grid
Source§impl LayoutControl for Grid
impl LayoutControl for Grid
fn width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_width(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn min_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn max_height(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn opacity(self, value: impl Into<Option<f64>>) -> Selfwhere
Self: Sized,
fn horizontal_alignment(
self,
value: impl Into<Option<HorizontalAlignment>>,
) -> Selfwhere
Self: Sized,
fn vertical_alignment(self, value: impl Into<Option<VerticalAlignment>>) -> Selfwhere
Self: Sized,
fn margin(self, value: impl Into<Thickness>) -> Selfwhere
Self: Sized,
fn margin_optional<T>(self, value: Option<T>) -> Self
fn exit_transition(self, transition: ExitTransition) -> Selfwhere
Self: Sized,
impl ReferenceControl for Grid
impl StructuralPartialEq for Grid
Auto Trait Implementations§
impl !RefUnwindSafe for Grid
impl !Send for Grid
impl !Sync for Grid
impl !UnwindSafe for Grid
impl Freeze for Grid
impl Unpin for Grid
impl UnsafeUnpin for Grid
Blanket Implementations§
Source§impl<T> AutomationExt for Twhere
T: LayoutControl,
impl<T> AutomationExt for Twhere
T: LayoutControl,
fn automation_name(self, value: impl Into<String>) -> Self
fn automation_id(self, value: impl Into<String>) -> Self
fn automation_heading_level(self, value: AutomationHeadingLevel) -> Self
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