ToastStyle
public struct ToastStyle : RawRepresentable, Equatable, Hashable, Sendable
消息吐司可扩展样式枚举
-
Declaration
Swift
public typealias RawValue = Int
-
默认消息样式
Declaration
Swift
public static let `default`: ToastStyle
-
加载吐司样式
Declaration
Swift
public static let loading: ToastStyle
-
进度吐司样式
Declaration
Swift
public static let progress: ToastStyle
-
成功消息样式
Declaration
Swift
public static let success: ToastStyle
-
失败消息样式
Declaration
Swift
public static let failure: ToastStyle
-
警告消息样式
Declaration
Swift
public static let warning: ToastStyle
-
Declaration
Swift
public var rawValue: Int
-
Declaration
Swift
public init(rawValue: Int)
-
Undocumented
Declaration
Swift
public init(_ rawValue: Int)