Struct frui::druid_shell::FileDialogToken
[−]pub struct FileDialogToken(_);Expand description
A token that uniquely identifies a file dialog request.
Implementations
impl FileDialogToken
impl FileDialogToken
pub const INVALID: FileDialogToken = FileDialogToken(0)
pub const INVALID: FileDialogToken = FileDialogToken(0)
A token that does not correspond to any file dialog.
pub fn next() -> FileDialogToken
pub fn next() -> FileDialogToken
Create a new token.
pub 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
impl Clone for FileDialogToken
impl Clone for FileDialogToken
fn clone(&self) -> FileDialogToken
fn clone(&self) -> FileDialogToken
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Debug for FileDialogToken
impl Debug for FileDialogToken
impl Hash for FileDialogToken
impl Hash for FileDialogToken
impl PartialEq<FileDialogToken> for FileDialogToken
impl PartialEq<FileDialogToken> for FileDialogToken
fn eq(&self, other: &FileDialogToken) -> bool
fn eq(&self, other: &FileDialogToken) -> bool
impl PartialOrd<FileDialogToken> for FileDialogToken
impl PartialOrd<FileDialogToken> for FileDialogToken
fn partial_cmp(&self, other: &FileDialogToken) -> Option<Ordering>
fn partial_cmp(&self, other: &FileDialogToken) -> Option<Ordering>
1.0.0 · sourcefn 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 Immutable for FileDialogToken
impl RefUnwindSafe for FileDialogToken
impl Send for FileDialogToken
impl Sync for FileDialogToken
impl Unpin for FileDialogToken
impl UnwindSafe for FileDialogToken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more