pub struct AttributeUsageSource {
pub module_path: &'static str,
pub file: &'static str,
pub line: u32,
pub column: u32,
}Expand description
Source location metadata for attribute usages.
Fields§
§module_path: &'static strFully qualified Rust module path (e.g. "crate::schema::core").
file: &'static strSource file path where the attribute is used.
line: u32Line number within the source file.
column: u32Column number within the source line.
Trait Implementations§
Source§impl Clone for AttributeUsageSource
impl Clone for AttributeUsageSource
Source§fn clone(&self) -> AttributeUsageSource
fn clone(&self) -> AttributeUsageSource
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 AttributeUsageSource
impl Debug for AttributeUsageSource
Source§impl Hash for AttributeUsageSource
impl Hash for AttributeUsageSource
Source§impl PartialEq for AttributeUsageSource
impl PartialEq for AttributeUsageSource
impl Copy for AttributeUsageSource
impl Eq for AttributeUsageSource
impl StructuralPartialEq for AttributeUsageSource
Auto Trait Implementations§
impl Freeze for AttributeUsageSource
impl RefUnwindSafe for AttributeUsageSource
impl Send for AttributeUsageSource
impl Sync for AttributeUsageSource
impl Unpin for AttributeUsageSource
impl UnsafeUnpin for AttributeUsageSource
impl UnwindSafe for AttributeUsageSource
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