pub struct FloatingConfig {
pub offset: Vector2,
pub parent_id: u32,
pub z_index: i16,
pub attach_points: FloatingAttachPoints,
pub pointer_capture_mode: PointerCaptureMode,
pub attach_to: FloatingAttachToElement,
pub clip_to: FloatingClipToElement,
}Fields§
§offset: Vector2§parent_id: u32§z_index: i16§attach_points: FloatingAttachPoints§pointer_capture_mode: PointerCaptureMode§attach_to: FloatingAttachToElement§clip_to: FloatingClipToElementTrait Implementations§
Source§impl Clone for FloatingConfig
impl Clone for FloatingConfig
Source§fn clone(&self) -> FloatingConfig
fn clone(&self) -> FloatingConfig
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 FloatingConfig
impl Debug for FloatingConfig
Source§impl Default for FloatingConfig
impl Default for FloatingConfig
Source§fn default() -> FloatingConfig
fn default() -> FloatingConfig
Returns the “default value” for a type. Read more
impl Copy for FloatingConfig
Auto Trait Implementations§
impl Freeze for FloatingConfig
impl RefUnwindSafe for FloatingConfig
impl Send for FloatingConfig
impl Sync for FloatingConfig
impl Unpin for FloatingConfig
impl UnsafeUnpin for FloatingConfig
impl UnwindSafe for FloatingConfig
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