pub struct ManifestEntry {
pub file_path: PathBuf,
pub text: String,
pub raw_comment_span: TextRange,
pub item_kind: SourceItemKind,
pub item_name: Option<String>,
pub item_span: TextRange,
pub is_natspec: bool,
}
Fields§
§file_path: PathBuf
§text: String
§raw_comment_span: TextRange
§item_kind: SourceItemKind
§item_name: Option<String>
§item_span: TextRange
§is_natspec: bool
Trait Implementations§
Source§impl Clone for ManifestEntry
impl Clone for ManifestEntry
Source§fn clone(&self) -> ManifestEntry
fn clone(&self) -> ManifestEntry
Returns a duplicate 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 ManifestEntry
impl Debug for ManifestEntry
Source§impl<'de> Deserialize<'de> for ManifestEntry
impl<'de> Deserialize<'de> for ManifestEntry
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
Source§impl From<(SourceComment, PathBuf)> for ManifestEntry
impl From<(SourceComment, PathBuf)> for ManifestEntry
Source§fn from((sc, file_path): (SourceComment, PathBuf)) -> Self
fn from((sc, file_path): (SourceComment, PathBuf)) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ManifestEntry
impl PartialEq for ManifestEntry
Source§impl Serialize for ManifestEntry
impl Serialize for ManifestEntry
impl Eq for ManifestEntry
impl StructuralPartialEq for ManifestEntry
Auto Trait Implementations§
impl Freeze for ManifestEntry
impl RefUnwindSafe for ManifestEntry
impl Send for ManifestEntry
impl Sync for ManifestEntry
impl Unpin for ManifestEntry
impl UnwindSafe for ManifestEntry
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.