pub struct PlacementRevealConfig {
pub enabled: bool,
pub max_pan_px: f32,
pub animation_ms: u64,
}Fields§
§enabled: bool§max_pan_px: f32§animation_ms: u64Trait Implementations§
Source§impl Clone for PlacementRevealConfig
impl Clone for PlacementRevealConfig
Source§fn clone(&self) -> PlacementRevealConfig
fn clone(&self) -> PlacementRevealConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlacementRevealConfig
impl Debug for PlacementRevealConfig
Source§impl Default for PlacementRevealConfig
impl Default for PlacementRevealConfig
Source§impl PartialEq for PlacementRevealConfig
impl PartialEq for PlacementRevealConfig
Source§fn eq(&self, other: &PlacementRevealConfig) -> bool
fn eq(&self, other: &PlacementRevealConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PlacementRevealConfig
Auto Trait Implementations§
impl Freeze for PlacementRevealConfig
impl RefUnwindSafe for PlacementRevealConfig
impl Send for PlacementRevealConfig
impl Sync for PlacementRevealConfig
impl Unpin for PlacementRevealConfig
impl UnsafeUnpin for PlacementRevealConfig
impl UnwindSafe for PlacementRevealConfig
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