Enum cacao::appkit::FocusRingType
source · [−]pub enum FocusRingType {
Default,
None,
Exterior,
Unknown(NSUInteger),
}
Available on crate feature
appkit
only.Expand description
Used to set whether and/or how a view or cell draws a focus ring.
Variants
Default
Whatever the default is.
None
None.
Exterior
Standard focus ring.
Unknown(NSUInteger)
Trait Implementations
sourceimpl Debug for FocusRingType
impl Debug for FocusRingType
sourceimpl From<FocusRingType> for NSUInteger
impl From<FocusRingType> for NSUInteger
sourcefn from(ring_type: FocusRingType) -> Self
fn from(ring_type: FocusRingType) -> Self
Converts to this type from the input type.
sourceimpl From<u64> for FocusRingType
impl From<u64> for FocusRingType
sourcefn from(i: NSUInteger) -> Self
fn from(i: NSUInteger) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for FocusRingType
impl Send for FocusRingType
impl Sync for FocusRingType
impl Unpin for FocusRingType
impl UnwindSafe for FocusRingType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more