pub struct FieldMeta {
pub directory: String,
pub filename: String,
pub line: usize,
}Expand description
Source location metadata for a single field
Fields§
§directory: StringDirectory containing the file (relative to module root)
filename: StringFilename where the field is defined
line: usizeLine number in the file
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldMeta
impl<'de> Deserialize<'de> for FieldMeta
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 FieldMeta
impl RefUnwindSafe for FieldMeta
impl Send for FieldMeta
impl Sync for FieldMeta
impl Unpin for FieldMeta
impl UnwindSafe for FieldMeta
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