pub struct RowDefinition {
pub height: GridLength,
pub min_height: f64,
pub max_height: f64,
}Expand description
XAML RowDefinition: Height (default *), MinHeight, MaxHeight.
Fields§
§height: GridLength§min_height: f64§max_height: f64Implementations§
Source§impl RowDefinition
impl RowDefinition
pub const fn new(height: GridLength) -> RowDefinition
Sourcepub const fn min_height(self, min_height: f64) -> RowDefinition
pub const fn min_height(self, min_height: f64) -> RowDefinition
XAML MinHeight.
Sourcepub const fn max_height(self, max_height: f64) -> RowDefinition
pub const fn max_height(self, max_height: f64) -> RowDefinition
XAML MaxHeight.
Trait Implementations§
Source§impl Clone for RowDefinition
impl Clone for RowDefinition
impl Copy for RowDefinition
Source§impl Debug for RowDefinition
impl Debug for RowDefinition
Source§impl Default for RowDefinition
impl Default for RowDefinition
Source§fn default() -> RowDefinition
fn default() -> RowDefinition
Returns the “default value” for a type. Read more
Source§impl PartialEq for RowDefinition
impl PartialEq for RowDefinition
impl StructuralPartialEq for RowDefinition
Auto Trait Implementations§
impl Forget for RowDefinition
impl Freeze for RowDefinition
impl Move for RowDefinition
impl RefUnwindSafe for RowDefinition
impl Send for RowDefinition
impl Sync for RowDefinition
impl Unpin for RowDefinition
impl UnsafeUnpin for RowDefinition
impl UnwindSafe for RowDefinition
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