pub enum SymbolVariants {
Fill,
None,
Slash,
Circle,
Square,
Rectangle,
}Expand description
SwiftUI.SymbolVariants.
The cases are the type’s documented static properties, each read through its own getter. Types carry further statics that are not API; a value the reference cannot spell cannot be compared, so those are left out.
Variants§
Trait Implementations§
Source§impl Clone for SymbolVariants
impl Clone for SymbolVariants
impl Copy for SymbolVariants
Source§impl Debug for SymbolVariants
impl Debug for SymbolVariants
Source§impl EnvironmentArg for SymbolVariants
impl EnvironmentArg for SymbolVariants
Source§fn environment(self, view: View) -> View
fn environment(self, view: View) -> View
Write this value into
view’s environment.impl Eq for SymbolVariants
Source§impl From<Circle> for SymbolVariants
impl From<Circle> for SymbolVariants
Source§impl From<Fill> for SymbolVariants
impl From<Fill> for SymbolVariants
Source§impl From<None> for SymbolVariants
impl From<None> for SymbolVariants
Source§impl From<Rectangle> for SymbolVariants
impl From<Rectangle> for SymbolVariants
Source§impl From<Slash> for SymbolVariants
impl From<Slash> for SymbolVariants
Source§impl From<Square> for SymbolVariants
impl From<Square> for SymbolVariants
Source§impl PartialEq for SymbolVariants
impl PartialEq for SymbolVariants
impl StructuralPartialEq for SymbolVariants
Auto Trait Implementations§
impl Freeze for SymbolVariants
impl RefUnwindSafe for SymbolVariants
impl Send for SymbolVariants
impl Sync for SymbolVariants
impl Unpin for SymbolVariants
impl UnsafeUnpin for SymbolVariants
impl UnwindSafe for SymbolVariants
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