SwiftstructDesignLibrary

struct DesignLibrary.MacGlassButton

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 10

  1. fieldvar _appearsActive: SwiftUI.Environment<Bool>
  2. fieldvar _borderShape: SwiftUI.Environment<DesignLibrary.ResolvedControlBorderShape>
  3. fieldvar _tintColor: SwiftUI.Environment<SwiftUI.Color?>
  4. fieldvar interactionState: DesignLibrary.InteractionState
  5. fieldvar label: A
  6. fieldvar macSizeClass: DesignLibrary.MacSizeClass
  7. fieldvar tintProminence: DesignLibrary.ButtonTintProminence
  8. fieldvar toggleValue: DesignLibrary.ToggleValue
  9. fieldvar variant: DesignLibrary.MacGlassButtonVariant
  10. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI._VariadicView.Tree<SwiftUI._LayoutRoot<DesignLibrary.FlexiblePaddingLayout>, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<A, SwiftUI._EnvironmentKeyWritingModifier<Swift.Optional<SwiftUI.Font>>>, SwiftUI._ForegroundStyleModifier<DesignLibrary.MacButtonGlassForegroundStyle>>>, SwiftUI._PaddingLayout>, SwiftUI._BackgroundModifier<SwiftUI.StrokeShapeView<DesignLibrary.ResolvedControlBorderShape, SwiftUI._OpacityShapeStyle<DesignLibrary.ControlBorderShapeStyle>, SwiftUI.FillShapeView<DesignLibrary.ResolvedControlBorderShape, DesignLibrary.MacButtonGlassInteractionFill, SwiftUI._ShapeView<DesignLibrary.ResolvedControlBorderShape, SwiftUI.AnyShapeStyle>>>>>, SwiftUI.StaticIf<SwiftUI.GlassEnabledPredicate, SwiftUI.GlassEffectModifier, SwiftUI.EmptyModifier>>, SwiftUI._ContentShapeModifier<DesignLibrary.ResolvedControlBorderShape>>, SwiftUI._ContentShapeKindModifier<DesignLibrary.ResolvedControlBorderShape.Inset>>
struct MacGlassButton<A> where A: SwiftUI.View {
    // synthesized from the backing storage `_appearsActive`; the property's own accessors are stripped
    @SwiftUI.Environment var appearsActive: Swift.Bool {
        get
    }
    // synthesized from the backing storage `_borderShape`; the property's own accessors are stripped
    @SwiftUI.Environment var borderShape: DesignLibrary.ResolvedControlBorderShape {
        get
    }
    // synthesized from the backing storage `_tintColor`; the property's own accessors are stripped
    @SwiftUI.Environment var tintColor: SwiftUI.Color? {
        get
    }
    var interactionState: DesignLibrary.InteractionState
    var tintProminence: DesignLibrary.ButtonTintProminence
    var variant: DesignLibrary.MacGlassButtonVariant
    var macSizeClass: DesignLibrary.MacSizeClass
    var toggleValue: DesignLibrary.ToggleValue
    var label: A
}