pub struct ViewConstraints {
pub min_width: f64,
pub max_width: f64,
pub min_height: f64,
pub max_height: f64,
}Expand description
Immutable layout constraints for a view (dart:ui ViewConstraints).
Fields§
§min_width: f64§max_width: f64§min_height: f64§max_height: f64Implementations§
Trait Implementations§
Source§impl Clone for ViewConstraints
impl Clone for ViewConstraints
Source§fn clone(&self) -> ViewConstraints
fn clone(&self) -> ViewConstraints
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 moreimpl Copy for ViewConstraints
Source§impl Debug for ViewConstraints
impl Debug for ViewConstraints
Source§impl Default for ViewConstraints
impl Default for ViewConstraints
Source§fn default() -> ViewConstraints
fn default() -> ViewConstraints
Returns the “default value” for a type. Read more
Source§impl PartialEq for ViewConstraints
impl PartialEq for ViewConstraints
impl StructuralPartialEq for ViewConstraints
Auto Trait Implementations§
impl Freeze for ViewConstraints
impl RefUnwindSafe for ViewConstraints
impl Send for ViewConstraints
impl Sync for ViewConstraints
impl Unpin for ViewConstraints
impl UnsafeUnpin for ViewConstraints
impl UnwindSafe for ViewConstraints
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