Struct discord_sdk::wheel::OverlayState [−][src]
pub struct OverlayState {
pub enabled: bool,
pub visible: Visibility,
}
Fields
enabled: bool
Whether the user has the overlay enabled or disabled. If the overlay is disabled, all the functionality of the SDK will still work. The calls will instead focus the Discord client and show the modal there instead of in application.
visible: Visibility
Whether the overlay is visible or not.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OverlayState
impl Send for OverlayState
impl Sync for OverlayState
impl Unpin for OverlayState
impl UnwindSafe for OverlayState
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more