#[repr(C)]pub struct Clay_ElementDeclaration {
pub id: Clay_ElementId,
pub layout: Clay_LayoutConfig,
pub backgroundColor: Clay_Color,
pub cornerRadius: Clay_CornerRadius,
pub aspectRatio: Clay_AspectRatioElementConfig,
pub image: Clay_ImageElementConfig,
pub floating: Clay_FloatingElementConfig,
pub custom: Clay_CustomElementConfig,
pub clip: Clay_ClipElementConfig,
pub border: Clay_BorderElementConfig,
pub userData: *mut c_void,
}Fields§
§id: Clay_ElementId§layout: Clay_LayoutConfig§backgroundColor: Clay_Color§cornerRadius: Clay_CornerRadius§aspectRatio: Clay_AspectRatioElementConfig§image: Clay_ImageElementConfig§floating: Clay_FloatingElementConfig§custom: Clay_CustomElementConfig§clip: Clay_ClipElementConfig§border: Clay_BorderElementConfig§userData: *mut c_voidTrait Implementations§
Source§impl Clone for Clay_ElementDeclaration
impl Clone for Clay_ElementDeclaration
Source§fn clone(&self) -> Clay_ElementDeclaration
fn clone(&self) -> Clay_ElementDeclaration
Returns a duplicate 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 moreimpl Copy for Clay_ElementDeclaration
Auto Trait Implementations§
impl Freeze for Clay_ElementDeclaration
impl RefUnwindSafe for Clay_ElementDeclaration
impl !Send for Clay_ElementDeclaration
impl !Sync for Clay_ElementDeclaration
impl Unpin for Clay_ElementDeclaration
impl UnwindSafe for Clay_ElementDeclaration
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