pub struct SaveExtension {
pub id: Id,
pub name: String,
pub file_extension: String,
}Expand description
Defines a specific file extension that the user can select when saving a file.
Fields§
§id: IdThe ID of the file filter, used internally for identification.
name: StringThe display name of the file filter.
file_extension: StringThe file extension to use.
Trait Implementations§
Source§impl Clone for SaveExtension
impl Clone for SaveExtension
Source§fn clone(&self) -> SaveExtension
fn clone(&self) -> SaveExtension
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 SaveExtension
impl Debug for SaveExtension
Auto Trait Implementations§
impl Freeze for SaveExtension
impl RefUnwindSafe for SaveExtension
impl Send for SaveExtension
impl Sync for SaveExtension
impl Unpin for SaveExtension
impl UnwindSafe for SaveExtension
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