pub struct AnimatedSelectionStyle {
pub base_style: SelectionStyle,
pub animation_duration_ms: f64,
pub pulse_enabled: bool,
pub fade_in_enabled: bool,
pub performance_mode: bool,
pub batch_rendering: bool,
pub is_animating: bool,
pub animation_start_time: Option<f64>,
pub animation_progress: f64,
}Expand description
Animated selection style with timing and effects
Fields§
§base_style: SelectionStyle§animation_duration_ms: f64§pulse_enabled: bool§fade_in_enabled: bool§performance_mode: bool§batch_rendering: bool§is_animating: bool§animation_start_time: Option<f64>§animation_progress: f64Implementations§
Source§impl AnimatedSelectionStyle
impl AnimatedSelectionStyle
pub fn new() -> Self
pub fn with_animation_duration(self, duration_ms: f64) -> Self
pub fn with_pulse_enabled(self, enabled: bool) -> Self
pub fn with_fade_in_enabled(self, enabled: bool) -> Self
pub fn with_performance_mode(self, enabled: bool) -> Self
pub fn with_batch_rendering(self, enabled: bool) -> Self
pub fn animation_duration_ms(&self) -> f64
pub fn pulse_enabled(&self) -> bool
pub fn fade_in_enabled(&self) -> bool
pub fn is_animating(&self) -> bool
pub fn animation_progress(&self) -> f64
pub fn start_animation(&mut self)
pub fn update_animation(&mut self, elapsed_ms: f64)
Trait Implementations§
Source§impl Clone for AnimatedSelectionStyle
impl Clone for AnimatedSelectionStyle
Source§fn clone(&self) -> AnimatedSelectionStyle
fn clone(&self) -> AnimatedSelectionStyle
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 AnimatedSelectionStyle
impl Debug for AnimatedSelectionStyle
Source§impl Default for AnimatedSelectionStyle
impl Default for AnimatedSelectionStyle
Source§impl PartialEq for AnimatedSelectionStyle
impl PartialEq for AnimatedSelectionStyle
impl StructuralPartialEq for AnimatedSelectionStyle
Auto Trait Implementations§
impl Freeze for AnimatedSelectionStyle
impl RefUnwindSafe for AnimatedSelectionStyle
impl Send for AnimatedSelectionStyle
impl Sync for AnimatedSelectionStyle
impl Unpin for AnimatedSelectionStyle
impl UnwindSafe for AnimatedSelectionStyle
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