Struct okane_core::repl::IncludeFile
source · pub struct IncludeFile<'i>(pub Cow<'i, str>);Expand description
“include” directive, taking a path as an argument. Path can be a relative path or an absolute path.
Tuple Fields§
§0: Cow<'i, str>Trait Implementations§
source§impl<'i> Debug for IncludeFile<'i>
impl<'i> Debug for IncludeFile<'i>
source§impl Display for IncludeFile<'_>
impl Display for IncludeFile<'_>
source§impl<'i> IntoBoundedStatic for IncludeFile<'i>
impl<'i> IntoBoundedStatic for IncludeFile<'i>
§type Static = IncludeFile<'static>
type Static = IncludeFile<'static>
The target type is bounded by the
'static lifetime.source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T into an owned T such that T: 'static.source§impl<'i> PartialEq for IncludeFile<'i>
impl<'i> PartialEq for IncludeFile<'i>
source§fn eq(&self, other: &IncludeFile<'i>) -> bool
fn eq(&self, other: &IncludeFile<'i>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'i> ToBoundedStatic for IncludeFile<'i>
impl<'i> ToBoundedStatic for IncludeFile<'i>
impl<'i> Eq for IncludeFile<'i>
impl<'i> StructuralPartialEq for IncludeFile<'i>
Auto Trait Implementations§
impl<'i> Freeze for IncludeFile<'i>
impl<'i> RefUnwindSafe for IncludeFile<'i>
impl<'i> Send for IncludeFile<'i>
impl<'i> Sync for IncludeFile<'i>
impl<'i> Unpin for IncludeFile<'i>
impl<'i> UnwindSafe for IncludeFile<'i>
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