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>
Source§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§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