pub struct WindowConstraints {
pub min_width: f32,
pub max_width: f32,
pub min_height: f32,
pub max_height: f32,
}Fields§
§min_width: f32§max_width: f32§min_height: f32§max_height: f32Implementations§
Trait Implementations§
Source§impl Clone for WindowConstraints
impl Clone for WindowConstraints
Source§fn clone(&self) -> WindowConstraints
fn clone(&self) -> WindowConstraints
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 WindowConstraints
Auto Trait Implementations§
impl Freeze for WindowConstraints
impl RefUnwindSafe for WindowConstraints
impl Send for WindowConstraints
impl Sync for WindowConstraints
impl Unpin for WindowConstraints
impl UnsafeUnpin for WindowConstraints
impl UnwindSafe for WindowConstraints
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