pub struct BindingInfo { /* private fields */ }Expand description
One logical source and the actual declarations consuming it.
Implementations§
Source§impl BindingInfo
impl BindingInfo
Sourcepub fn source(&self) -> Option<&BindingSource>
pub fn source(&self) -> Option<&BindingSource>
Authored default source, if any.
Sourcepub fn requirements(&self) -> &[BindingRequirement]
pub fn requirements(&self) -> &[BindingRequirement]
Actual role requirements across the document.
Trait Implementations§
Source§impl Clone for BindingInfo
impl Clone for BindingInfo
Auto Trait Implementations§
impl Forget for BindingInfo
impl Freeze for BindingInfowhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<[u8]> is !null: Freeze,
PhantomData<ArcInner<[u8]>>: Freeze,
PhantomData<RawKey>: Freeze,
*const RawKey is !null: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
PhantomData<isize>: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<String>: Freeze,
PhantomData<(String, Vec<String>)>: Freeze,
PhantomData<(RawKey, BindingSelector)>: Freeze,
&'static str: Freeze,
PhantomData<BindingRequirement>: Freeze,
impl Move for BindingInfo
impl RefUnwindSafe for BindingInfo
impl Send for BindingInfo
impl Sync for BindingInfo
impl Unpin for BindingInfo
impl UnsafeUnpin for BindingInfowhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<[u8]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[u8]>>: UnsafeUnpin,
PhantomData<RawKey>: UnsafeUnpin,
*const RawKey is !null: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
PhantomData<isize>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<(String, Vec<String>)>: UnsafeUnpin,
PhantomData<(RawKey, BindingSelector)>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<BindingRequirement>: UnsafeUnpin,
impl UnwindSafe for BindingInfowhere
RawVecInner: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: UnwindSafe,
&'static str: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.