pub struct DataRoleInfo { /* private fields */ }Expand description
Metadata of one actually bound role.
Implementations§
Source§impl DataRoleInfo
impl DataRoleInfo
Sourcepub fn reference(&self) -> &DataRoleRef
pub fn reference(&self) -> &DataRoleRef
Actual role and binding identity.
Sourcepub fn value_type(&self) -> DataValueType
pub fn value_type(&self) -> DataValueType
Actual native payload type.
Sourcepub fn array_type(&self) -> Option<ArrayValueType>
pub fn array_type(&self) -> Option<ArrayValueType>
Actual native array type, if an array.
Sourcepub fn axis_type(&self) -> Option<AxisValueType>
pub fn axis_type(&self) -> Option<AxisValueType>
Actual native axis type, if an axis.
Sourcepub fn domain(&self) -> Option<&DataDomainRef>
pub fn domain(&self) -> Option<&DataDomainRef>
The actual unique alignment domain.
Sourcepub fn domains(&self) -> &[DataDomainInfo]
pub fn domains(&self) -> &[DataDomainInfo]
All actual component domains.
Sourcepub fn source(&self) -> Option<&DataSourceRef>
pub fn source(&self) -> Option<&DataSourceRef>
Unique actual capture, when it exists.
Sourcepub fn selector(&self) -> Option<&BindingSelector>
pub fn selector(&self) -> Option<&BindingSelector>
Unique authored selection, when it exists.
Trait Implementations§
Source§impl Clone for DataRoleInfo
impl Clone for DataRoleInfo
Source§fn clone(&self) -> DataRoleInfo
fn clone(&self) -> DataRoleInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Forget for DataRoleInfo
impl Freeze for DataRoleInfowhere
*const ArcInner<()> is !null: Freeze,
PhantomData<ArcInner<()>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<PanelStep>: Freeze,
*const ArcInner<[RawKey]> is !null: Freeze,
PhantomData<ArcInner<[RawKey]>>: Freeze,
*const ArcInner<[usize]> is !null: Freeze,
PhantomData<ArcInner<[usize]>>: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<[DataDomainInfo]> is !null: Freeze,
PhantomData<ArcInner<[DataDomainInfo]>>: 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,
impl Move for DataRoleInfo
impl RefUnwindSafe for DataRoleInfo
impl Send for DataRoleInfo
impl Sync for DataRoleInfo
impl Unpin for DataRoleInfo
impl UnsafeUnpin for DataRoleInfowhere
*const ArcInner<()> is !null: UnsafeUnpin,
PhantomData<ArcInner<()>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<PanelStep>: UnsafeUnpin,
*const ArcInner<[RawKey]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[RawKey]>>: UnsafeUnpin,
*const ArcInner<[usize]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[usize]>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<[DataDomainInfo]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[DataDomainInfo]>>: 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,
impl UnwindSafe for DataRoleInfowhere
Arc<()>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<[RawKey]>: UnwindSafe,
Arc<[usize]>: UnwindSafe,
Arc<[DataDomainInfo]>: UnwindSafe,
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
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.