pub struct FocusRingConfig {
pub rx: f32,
pub ry: f32,
pub offset_x: f32,
pub offset_y: f32,
}Fields§
§rx: f32§ry: f32§offset_x: f32§offset_y: f32Implementations§
Source§impl FocusRingConfig
impl FocusRingConfig
pub fn to_focus_ring(self) -> FocusRing
Trait Implementations§
Source§impl Clone for FocusRingConfig
impl Clone for FocusRingConfig
Source§fn clone(&self) -> FocusRingConfig
fn clone(&self) -> FocusRingConfig
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 moreimpl Copy for FocusRingConfig
Source§impl Debug for FocusRingConfig
impl Debug for FocusRingConfig
Source§impl PartialEq for FocusRingConfig
impl PartialEq for FocusRingConfig
Source§fn eq(&self, other: &FocusRingConfig) -> bool
fn eq(&self, other: &FocusRingConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FocusRingConfig
Auto Trait Implementations§
impl Freeze for FocusRingConfig
impl RefUnwindSafe for FocusRingConfig
impl Send for FocusRingConfig
impl Sync for FocusRingConfig
impl Unpin for FocusRingConfig
impl UnsafeUnpin for FocusRingConfig
impl UnwindSafe for FocusRingConfig
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