pub struct ContentModelReport {
pub source: SourceView,
pub authored: AuthoredView,
pub compiled: CompiledView,
}Expand description
A three-view description of one complex type’s content model.
See the module documentation for what each view contains. The
Display rendering is stable and deterministic: every set
borrowed from a hash map is sorted before it reaches the output.
Fields§
§source: SourceViewWhere the type came from and what kind of content it declares.
The resolved particle tree as the schema wrote it.
compiled: CompiledViewThe matcher the validator executes.
Trait Implementations§
Source§impl Clone for ContentModelReport
impl Clone for ContentModelReport
Source§impl Debug for ContentModelReport
impl Debug for ContentModelReport
Auto Trait Implementations§
impl Forget for ContentModelReport
impl Freeze for ContentModelReportwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
&'static str: Freeze,
PhantomData<String>: Freeze,
PhantomData<AuthoredSection>: Freeze,
PhantomData<CounterView>: Freeze,
PhantomData<StateRow>: Freeze,
PhantomData<SubstitutionGroupView>: Freeze,
PhantomData<u16>: Freeze,
PhantomData<AllMemberView>: Freeze,
impl Move for ContentModelReport
impl RefUnwindSafe for ContentModelReport
impl Send for ContentModelReport
impl Sync for ContentModelReportwhere
RawVecInner: Sync,
impl Unpin for ContentModelReport
impl UnsafeUnpin for ContentModelReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<AuthoredSection>: UnsafeUnpin,
PhantomData<CounterView>: UnsafeUnpin,
PhantomData<StateRow>: UnsafeUnpin,
PhantomData<SubstitutionGroupView>: UnsafeUnpin,
PhantomData<u16>: UnsafeUnpin,
PhantomData<AllMemberView>: UnsafeUnpin,
impl UnwindSafe for ContentModelReport
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