pub struct GraphName {
pub name: String,
pub kind: String,
pub file: String,
pub line: usize,
pub owner: String,
}Expand description
One row of the full name index. Field order (name, kind,
file, line, owner) is significant; owner carries the
declaring type’s def id for a member and is omitted for a type, an enum
member, and every markup or resource key.
Fields§
§name: StringThe name value.
kind: StringThe kind value.
file: StringThe file value.
line: usizeThe line value.
owner: StringThe owner value.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphName
impl<'de> Deserialize<'de> for GraphName
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
impl StructuralPartialEq for GraphName
Auto Trait Implementations§
impl Freeze for GraphName
impl RefUnwindSafe for GraphName
impl Send for GraphName
impl Sync for GraphName
impl Unpin for GraphName
impl UnsafeUnpin for GraphName
impl UnwindSafe for GraphName
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