pub struct Generated {
pub by: By,
pub from: SmallVec<[Anchor; 2]>,
}Expand description
Payload of a SourceInfo::Generated node.
by records the producer (“which transform made me”); from is a
list of typed, role-labeled source-info pointers (“which source
bytes contributed to me”). Empty from means pure synthesis
(sectionize wrappers, filter constructions, title-block h1).
An Invocation anchor present means there is a source-side
preimage (every shortcode resolution).
Fields§
§by: By§from: SmallVec<[Anchor; 2]>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Generated
impl<'de> Deserialize<'de> for Generated
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
impl StructuralPartialEq for Generated
Auto Trait Implementations§
impl Freeze for Generated
impl RefUnwindSafe for Generated
impl Send for Generated
impl Sync for Generated
impl Unpin for Generated
impl UnsafeUnpin for Generated
impl UnwindSafe for Generated
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