pub struct FileExtension {
pub value: String,
}Expand description
A string-backed file extension.
Fields§
§value: StringTrait Implementations§
Source§impl Clone for FileExtension
impl Clone for FileExtension
Source§fn clone(&self) -> FileExtension
fn clone(&self) -> FileExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileExtension
impl Debug for FileExtension
Source§impl Hash for FileExtension
impl Hash for FileExtension
Source§impl PartialEq for FileExtension
impl PartialEq for FileExtension
Source§fn eq(&self, other: &FileExtension) -> bool
fn eq(&self, other: &FileExtension) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FileExtension
impl StructuralPartialEq for FileExtension
Auto Trait Implementations§
impl Freeze for FileExtension
impl RefUnwindSafe for FileExtension
impl Send for FileExtension
impl Sync for FileExtension
impl Unpin for FileExtension
impl UnsafeUnpin for FileExtension
impl UnwindSafe for FileExtension
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