pub struct EdgeMetadata {
pub source_line: Option<usize>,
pub is_reexport: bool,
pub condition: Option<String>,
}Expand description
Additional edge metadata
Fields§
§source_line: Option<usize>Line number in source where this relationship exists
is_reexport: boolWhether this is a re-export
condition: Option<String>Conditional (e.g., cfg(feature = “x”))
Trait Implementations§
Source§impl Clone for EdgeMetadata
impl Clone for EdgeMetadata
Source§fn clone(&self) -> EdgeMetadata
fn clone(&self) -> EdgeMetadata
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 EdgeMetadata
impl Debug for EdgeMetadata
Source§impl<'de> Deserialize<'de> for EdgeMetadata
impl<'de> Deserialize<'de> for EdgeMetadata
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 EdgeMetadata
impl RefUnwindSafe for EdgeMetadata
impl Send for EdgeMetadata
impl Sync for EdgeMetadata
impl Unpin for EdgeMetadata
impl UnwindSafe for EdgeMetadata
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