pub struct Include<'a> {
pub path: &'a Path,
pub stem: &'a str,
pub doc: Comment<'a>,
}Expand description
A single include.
Fields§
§path: &'a PathThe path to the included file.
stem: &'a strThe file stem of path.
doc: Comment<'a>Implementations§
Trait Implementations§
Source§impl<'a> Ord for Include<'a>
impl<'a> Ord for Include<'a>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialOrd for Include<'a>
impl<'a> PartialOrd for Include<'a>
impl<'a> Eq for Include<'a>
impl<'a> StructuralPartialEq for Include<'a>
Auto Trait Implementations§
impl<'a> Freeze for Include<'a>
impl<'a> RefUnwindSafe for Include<'a>
impl<'a> Send for Include<'a>
impl<'a> Sync for Include<'a>
impl<'a> Unpin for Include<'a>
impl<'a> UnwindSafe for Include<'a>
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more