pub enum FileMarker {
File(&'static str),
Undefined,
Internal(&'static str),
}Variants§
Implementations§
Source§impl FileMarker
impl FileMarker
pub fn get_name(&self) -> Option<&'static str>
pub fn is_undefined(&self) -> bool
pub fn is_internal(&self) -> bool
Trait Implementations§
Source§impl Clone for FileMarker
impl Clone for FileMarker
Source§fn clone(&self) -> FileMarker
fn clone(&self) -> FileMarker
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 FileMarker
impl Debug for FileMarker
Source§impl Default for FileMarker
impl Default for FileMarker
Source§fn default() -> FileMarker
fn default() -> FileMarker
Returns the “default value” for a type. Read more
Source§impl Deserialize<'static> for FileMarker
impl Deserialize<'static> for FileMarker
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&FileMarker> for PathBuf
impl From<&FileMarker> for PathBuf
Source§fn from(val: &FileMarker) -> Self
fn from(val: &FileMarker) -> Self
Converts to this type from the input type.
Source§impl From<&'static str> for FileMarker
impl From<&'static str> for FileMarker
Source§impl Hash for FileMarker
impl Hash for FileMarker
Source§impl PartialEq for FileMarker
impl PartialEq for FileMarker
Source§fn eq(&self, other: &FileMarker) -> bool
fn eq(&self, other: &FileMarker) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileMarker
impl Serialize for FileMarker
impl Copy for FileMarker
impl Eq for FileMarker
impl StructuralPartialEq for FileMarker
Auto Trait Implementations§
impl Freeze for FileMarker
impl RefUnwindSafe for FileMarker
impl Send for FileMarker
impl Sync for FileMarker
impl Unpin for FileMarker
impl UnsafeUnpin for FileMarker
impl UnwindSafe for FileMarker
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