pub struct ImportedReference {
pub target_id: NodeId,
pub type_id: NodeId,
pub is_forward: bool,
}Expand description
A reference produced by a type implementing NodeSetImport.
Note that the source of this reference is given by the node in the outer ImportedItem
Fields§
§target_id: NodeIdReference target ID.
type_id: NodeIdReference type ID.
is_forward: boolWhether this is a forward or inverse reference.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImportedReference
impl RefUnwindSafe for ImportedReference
impl Send for ImportedReference
impl Sync for ImportedReference
impl Unpin for ImportedReference
impl UnsafeUnpin for ImportedReference
impl UnwindSafe for ImportedReference
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