[−][src]Struct sixtyfps_compilerlib::layout::GridLayoutElement
An element in a GridLayout
Fields
col: u16
row: u16
colspan: u16
rowspan: u16
item: LayoutItem
minimum_width: Option<Box<Expression>>
maximum_width: Option<Box<Expression>>
minimum_height: Option<Box<Expression>>
maximum_height: Option<Box<Expression>>
Implementations
impl GridLayoutElement
[src]
pub fn has_explicit_restrictions(&self) -> bool
[src]
pub fn for_each_restrictions<'a>(
&'a self
) -> [(&Option<Box<Expression>>, &'static str); 4]
[src]
&'a self
) -> [(&Option<Box<Expression>>, &'static str); 4]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GridLayoutElement
impl !Send for GridLayoutElement
impl !Sync for GridLayoutElement
impl Unpin for GridLayoutElement
impl !UnwindSafe for GridLayoutElement
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,
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.
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>,