pub struct DialogOptions {
pub allow_file_dialogs: bool,
pub allow_message_dialogs: bool,
}Expand description
Dialog configuration options.
Fields§
§allow_file_dialogs: boolWhether file dialogs are allowed.
allow_message_dialogs: boolWhether message dialogs are allowed.
Trait Implementations§
Source§impl Clone for DialogOptions
impl Clone for DialogOptions
Source§fn clone(&self) -> DialogOptions
fn clone(&self) -> DialogOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DialogOptions
impl Debug for DialogOptions
Source§impl Default for DialogOptions
impl Default for DialogOptions
Source§fn default() -> DialogOptions
fn default() -> DialogOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DialogOptions
impl<'de> Deserialize<'de> for DialogOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DialogOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DialogOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DialogOptions
impl Serialize for DialogOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DialogOptions
impl RefUnwindSafe for DialogOptions
impl Send for DialogOptions
impl Sync for DialogOptions
impl Unpin for DialogOptions
impl UnsafeUnpin for DialogOptions
impl UnwindSafe for DialogOptions
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