#[repr(C)]pub struct LayoutItemInfo {
pub constraint: LayoutInfo,
}Expand description
The information about a single item in a box or grid layout
Fields§
§constraint: LayoutInfoTrait Implementations§
Source§impl Clone for LayoutItemInfo
impl Clone for LayoutItemInfo
Source§fn clone(&self) -> LayoutItemInfo
fn clone(&self) -> LayoutItemInfo
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 moreSource§impl Debug for LayoutItemInfo
impl Debug for LayoutItemInfo
Source§impl Default for LayoutItemInfo
impl Default for LayoutItemInfo
Source§fn default() -> LayoutItemInfo
fn default() -> LayoutItemInfo
Returns the “default value” for a type. Read more
Source§impl From<LayoutItemInfo> for FlexboxLayoutItemInfo
impl From<LayoutItemInfo> for FlexboxLayoutItemInfo
Source§fn from(info: LayoutItemInfo) -> Self
fn from(info: LayoutItemInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LayoutItemInfo
impl RefUnwindSafe for LayoutItemInfo
impl Send for LayoutItemInfo
impl Sync for LayoutItemInfo
impl Unpin for LayoutItemInfo
impl UnsafeUnpin for LayoutItemInfo
impl UnwindSafe for LayoutItemInfo
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