Struct druid_shell::FileDialogToken
source · pub struct FileDialogToken(_);Expand description
A token that uniquely identifies a file dialog request.
Implementations§
source§impl FileDialogToken
impl FileDialogToken
sourcepub const INVALID: FileDialogToken = _
pub const INVALID: FileDialogToken = _
A token that does not correspond to any file dialog.
sourcepub fn next() -> FileDialogToken
pub fn next() -> FileDialogToken
Create a new token.
sourcepub const fn from_raw(id: u64) -> FileDialogToken
pub const fn from_raw(id: u64) -> FileDialogToken
Create a new token from a raw value.
Trait Implementations§
source§impl Clone for FileDialogToken
impl Clone for FileDialogToken
source§fn clone(&self) -> FileDialogToken
fn clone(&self) -> FileDialogToken
Returns a copy 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 FileDialogToken
impl Debug for FileDialogToken
source§impl Hash for FileDialogToken
impl Hash for FileDialogToken
source§impl PartialEq<FileDialogToken> for FileDialogToken
impl PartialEq<FileDialogToken> for FileDialogToken
source§fn eq(&self, other: &FileDialogToken) -> bool
fn eq(&self, other: &FileDialogToken) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<FileDialogToken> for FileDialogToken
impl PartialOrd<FileDialogToken> for FileDialogToken
source§fn partial_cmp(&self, other: &FileDialogToken) -> Option<Ordering>
fn partial_cmp(&self, other: &FileDialogToken) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for FileDialogToken
impl Eq for FileDialogToken
impl StructuralEq for FileDialogToken
impl StructuralPartialEq for FileDialogToken
Auto Trait Implementations§
impl RefUnwindSafe for FileDialogToken
impl Send for FileDialogToken
impl Sync for FileDialogToken
impl Unpin for FileDialogToken
impl UnwindSafe for FileDialogToken
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.