#[repr(C)]pub struct Clay_FloatingElementConfig {
pub offset: Clay_Vector2,
pub expand: Clay_Dimensions,
pub zIndex: u16,
pub parentId: u32,
pub attachment: Clay_FloatingAttachPoints,
pub pointerCaptureMode: Clay_PointerCaptureMode,
}Fields§
§offset: Clay_Vector2§expand: Clay_Dimensions§zIndex: u16§parentId: u32§attachment: Clay_FloatingAttachPoints§pointerCaptureMode: Clay_PointerCaptureModeTrait 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 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 Debug for Clay_FloatingElementConfig
impl Debug for Clay_FloatingElementConfig
Source§impl From<Clay_FloatingElementConfig> for FloatingContainer
impl From<Clay_FloatingElementConfig> for FloatingContainer
Source§fn from(value: Clay_FloatingElementConfig) -> Self
fn from(value: Clay_FloatingElementConfig) -> Self
Converts to this type from the input type.
Source§impl From<FloatingContainer> for Clay_FloatingElementConfig
impl From<FloatingContainer> for Clay_FloatingElementConfig
Source§fn from(value: FloatingContainer) -> Self
fn from(value: FloatingContainer) -> Self
Converts to this type from the input type.
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