pub struct FlashResult {
pub flash_rate: f32,
pub red_flash_exceeded: bool,
pub flash_area: f32,
pub is_safe: bool,
pub warning: Option<String>,
}Expand description
Result of flash detection
Fields§
§flash_rate: f32Detected flash rate (Hz)
red_flash_exceeded: boolWhether red flash threshold was exceeded
flash_area: f32Flash area percentage
is_safe: boolWhether the content is safe
warning: Option<String>Warning message if applicable
Trait Implementations§
Source§impl Clone for FlashResult
impl Clone for FlashResult
Source§fn clone(&self) -> FlashResult
fn clone(&self) -> FlashResult
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 moreAuto Trait Implementations§
impl Freeze for FlashResult
impl RefUnwindSafe for FlashResult
impl Send for FlashResult
impl Sync for FlashResult
impl Unpin for FlashResult
impl UnsafeUnpin for FlashResult
impl UnwindSafe for FlashResult
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