pub struct TypeSystemDocument { /* private fields */ }Implementations§
Source§impl TypeSystemDocument
impl TypeSystemDocument
pub fn read<T>(&self, id: T) -> T::Reader<'_>where
T: TypeSystemId,
Source§impl TypeSystemDocument
impl TypeSystemDocument
pub fn definitions(&self) -> Iter<'_, Definition<'_>> ⓘ
pub fn directive_definitions( &self, ) -> impl Iterator<Item = DirectiveDefinition<'_>> + '_
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeSystemDocument
impl RefUnwindSafe for TypeSystemDocument
impl Send for TypeSystemDocument
impl Sync for TypeSystemDocument
impl Unpin for TypeSystemDocument
impl UnsafeUnpin for TypeSystemDocument
impl UnwindSafe for TypeSystemDocument
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