pub trait Repr: AsRef<Inner<Self>> + Hash + Eq + Clone + Debug { fn repr(yaml: YamlBase<Self>, pos: u64, ty: String, anchor: String) -> Self; fn into_yaml(self) -> YamlBase<Self>; }
The generic representation holder for YamlBase and NodeBase.
YamlBase
NodeBase
See the implementor list for the choose.
fn repr(yaml: YamlBase<Self>, pos: u64, ty: String, anchor: String) -> Self
fn into_yaml(self) -> YamlBase<Self>
impl Repr for ArcRepr
impl Repr for RcRepr