pub enum PointerStyle {
Default,
Link,
ZoomIn,
GrabActive,
ColumnResize,
RectSelection,
HorizontalText,
VerticalText,
GrabIdle,
RowResize,
ZoomOut,
}Expand description
A member of SwiftUI.PointerStyle.
Variants§
Default
What the pointer would be with no modifier at all — an arrow over most things, an I-beam over text.
Link
ZoomIn
GrabActive
ColumnResize
RectSelection
HorizontalText
VerticalText
GrabIdle
RowResize
ZoomOut
Trait Implementations§
Source§impl Clone for PointerStyle
impl Clone for PointerStyle
impl Copy for PointerStyle
Source§impl Debug for PointerStyle
impl Debug for PointerStyle
impl Eq for PointerStyle
Source§impl From<ColumnResize> for PointerStyle
impl From<ColumnResize> for PointerStyle
Source§fn from(_: ColumnResize) -> Self
fn from(_: ColumnResize) -> Self
Converts to this type from the input type.
Source§impl From<Default> for PointerStyle
impl From<Default> for PointerStyle
Source§impl From<GrabActive> for PointerStyle
impl From<GrabActive> for PointerStyle
Source§fn from(_: GrabActive) -> Self
fn from(_: GrabActive) -> Self
Converts to this type from the input type.
Source§impl From<GrabIdle> for PointerStyle
impl From<GrabIdle> for PointerStyle
Source§impl From<HorizontalText> for PointerStyle
impl From<HorizontalText> for PointerStyle
Source§fn from(_: HorizontalText) -> Self
fn from(_: HorizontalText) -> Self
Converts to this type from the input type.
Source§impl From<Link> for PointerStyle
impl From<Link> for PointerStyle
Source§impl From<RectSelection> for PointerStyle
impl From<RectSelection> for PointerStyle
Source§fn from(_: RectSelection) -> Self
fn from(_: RectSelection) -> Self
Converts to this type from the input type.
Source§impl From<RowResize> for PointerStyle
impl From<RowResize> for PointerStyle
Source§impl From<VerticalText> for PointerStyle
impl From<VerticalText> for PointerStyle
Source§fn from(_: VerticalText) -> Self
fn from(_: VerticalText) -> Self
Converts to this type from the input type.
Source§impl From<ZoomIn> for PointerStyle
impl From<ZoomIn> for PointerStyle
Source§impl From<ZoomOut> for PointerStyle
impl From<ZoomOut> for PointerStyle
Source§impl PartialEq for PointerStyle
impl PartialEq for PointerStyle
impl StructuralPartialEq for PointerStyle
Auto Trait Implementations§
impl Freeze for PointerStyle
impl RefUnwindSafe for PointerStyle
impl Send for PointerStyle
impl Sync for PointerStyle
impl Unpin for PointerStyle
impl UnsafeUnpin for PointerStyle
impl UnwindSafe for PointerStyle
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