Enum lang_util::located::FileOverride
source · pub enum FileOverride {
None,
Number(u32),
Path(String),
}
Expand description
Represents a file location override
Variants§
Implementations§
Trait Implementations§
source§impl Clone for FileOverride
impl Clone for FileOverride
source§fn clone(&self) -> FileOverride
fn clone(&self) -> FileOverride
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 FileOverride
impl Debug for FileOverride
source§impl Default for FileOverride
impl Default for FileOverride
source§impl Display for FileOverride
impl Display for FileOverride
source§impl From<String> for FileOverride
impl From<String> for FileOverride
source§impl From<u32> for FileOverride
impl From<u32> for FileOverride
source§impl PartialEq for FileOverride
impl PartialEq for FileOverride
impl Eq for FileOverride
impl StructuralPartialEq for FileOverride
Auto Trait Implementations§
impl Freeze for FileOverride
impl RefUnwindSafe for FileOverride
impl Send for FileOverride
impl Sync for FileOverride
impl Unpin for FileOverride
impl UnwindSafe for FileOverride
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)