[−][src]Struct sixtyfps_compilerlib::layout::LayoutConstraints
Fields
minimum_width: Option<NamedReference>
maximum_width: Option<NamedReference>
minimum_height: Option<NamedReference>
maximum_height: Option<NamedReference>
horizontal_stretch: Option<NamedReference>
vertical_stretch: Option<NamedReference>
Implementations
impl LayoutConstraints
[src]
pub fn new(element: &ElementRc) -> Self
[src]
pub fn has_explicit_restrictions(&self) -> bool
[src]
pub fn for_each_restrictions<'a>(
&'a self
) -> [(&Option<NamedReference>, &'static str); 6]
[src]
&'a self
) -> [(&Option<NamedReference>, &'static str); 6]
Trait Implementations
impl Debug for LayoutConstraints
[src]
impl Default for LayoutConstraints
[src]
pub fn default() -> LayoutConstraints
[src]
Auto Trait Implementations
impl !RefUnwindSafe for LayoutConstraints
[src]
impl !Send for LayoutConstraints
[src]
impl !Sync for LayoutConstraints
[src]
impl Unpin for LayoutConstraints
[src]
impl !UnwindSafe for LayoutConstraints
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,