#[repr(C)]pub struct Clay_LayoutConfig {
pub sizing: Clay_Sizing,
pub padding: Clay_Padding,
pub childGap: u16,
pub childAlignment: Clay_ChildAlignment,
pub layoutDirection: Clay_LayoutDirection,
}Fields§
§sizing: Clay_Sizing§padding: Clay_Padding§childGap: u16§childAlignment: Clay_ChildAlignment§layoutDirection: Clay_LayoutDirectionTrait Implementations§
Source§impl Clone for Clay_LayoutConfig
impl Clone for Clay_LayoutConfig
Source§fn clone(&self) -> Clay_LayoutConfig
fn clone(&self) -> Clay_LayoutConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<Clay_LayoutConfig> for Layout
impl From<Clay_LayoutConfig> for Layout
Source§fn from(value: Clay_LayoutConfig) -> Self
fn from(value: Clay_LayoutConfig) -> Self
Converts to this type from the input type.
Source§impl From<Layout> for Clay_LayoutConfig
impl From<Layout> for Clay_LayoutConfig
impl Copy for Clay_LayoutConfig
Auto Trait Implementations§
impl Freeze for Clay_LayoutConfig
impl RefUnwindSafe for Clay_LayoutConfig
impl Send for Clay_LayoutConfig
impl Sync for Clay_LayoutConfig
impl Unpin for Clay_LayoutConfig
impl UnwindSafe for Clay_LayoutConfig
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