#[repr(C)]pub struct Clay_FloatingElementConfig {
pub offset: Clay_Vector2,
pub expand: Clay_Dimensions,
pub parentId: u32,
pub zIndex: i16,
pub attachPoints: Clay_FloatingAttachPoints,
pub pointerCaptureMode: Clay_PointerCaptureMode,
pub attachTo: Clay_FloatingAttachToElement,
pub clipTo: Clay_FloatingClipToElement,
}Fields§
§offset: Clay_Vector2§expand: Clay_Dimensions§parentId: u32§zIndex: i16§attachPoints: Clay_FloatingAttachPoints§pointerCaptureMode: Clay_PointerCaptureMode§attachTo: Clay_FloatingAttachToElement§clipTo: Clay_FloatingClipToElementTrait Implementations§
Source§impl Clone for Clay_FloatingElementConfig
impl Clone for Clay_FloatingElementConfig
Source§fn clone(&self) -> Clay_FloatingElementConfig
fn clone(&self) -> Clay_FloatingElementConfig
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 moreSource§impl Debug for Clay_FloatingElementConfig
impl Debug for Clay_FloatingElementConfig
impl Copy for Clay_FloatingElementConfig
Auto Trait Implementations§
impl Freeze for Clay_FloatingElementConfig
impl RefUnwindSafe for Clay_FloatingElementConfig
impl Send for Clay_FloatingElementConfig
impl Sync for Clay_FloatingElementConfig
impl Unpin for Clay_FloatingElementConfig
impl UnwindSafe for Clay_FloatingElementConfig
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