pub struct EntryFile {
pub crate_name: String,
pub kind: EntryKind,
pub path: PathBuf,
pub rendered: String,
pub parse_failed: bool,
pub raw_line_count: usize,
}Fields§
§crate_name: String§kind: EntryKind§path: PathBuf§rendered: StringRendered content: full for Main, filtered signatures for Lib,
or verbatim fallback when parsing failed.
parse_failed: booltrue when parsing failed and rendered is the raw source.
raw_line_count: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for EntryFile
impl<'de> Deserialize<'de> for EntryFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EntryFile
impl RefUnwindSafe for EntryFile
impl Send for EntryFile
impl Sync for EntryFile
impl Unpin for EntryFile
impl UnsafeUnpin for EntryFile
impl UnwindSafe for EntryFile
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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