pub struct UnmarkedStruct {
pub file: PathBuf,
pub line: usize,
pub name: String,
pub sites: usize,
}Expand description
One record unmarked_structs found a candidate for ---@struct (#304).
Fields§
§file: PathBufThe record’s declaring file, as the walk that found it spelled it — not canonicalised, so a caller reports the path the project’s own files use.
line: usizeLine of the record’s own declaration.
name: StringThe record’s own name.
sites: usizeHow many construction sites the group has, every one of them already setting every field the record’s own body declares — what made the record a candidate.
Trait Implementations§
Source§impl Clone for UnmarkedStruct
impl Clone for UnmarkedStruct
Source§impl Debug for UnmarkedStruct
impl Debug for UnmarkedStruct
impl Eq for UnmarkedStruct
Source§impl PartialEq for UnmarkedStruct
impl PartialEq for UnmarkedStruct
impl StructuralPartialEq for UnmarkedStruct
Auto Trait Implementations§
impl Freeze for UnmarkedStruct
impl RefUnwindSafe for UnmarkedStruct
impl Send for UnmarkedStruct
impl Sync for UnmarkedStruct
impl Unpin for UnmarkedStruct
impl UnsafeUnpin for UnmarkedStruct
impl UnwindSafe for UnmarkedStruct
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§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.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