pub enum DataSelector {
Role(DataRole),
Named(String),
Reference(DataRoleRef),
}Expand description
Select a fixed role, an explicitly named input, or an actual bound reference.
Variants§
Role(DataRole)
A fixed native role.
Named(String)
An explicitly declared open input name.
Reference(DataRoleRef)
The actual declaration and binding identity.
Trait Implementations§
Source§impl Clone for DataSelector
impl Clone for DataSelector
Source§impl Debug for DataSelector
impl Debug for DataSelector
Source§impl From<&DataRoleRef> for DataSelector
impl From<&DataRoleRef> for DataSelector
Source§fn from(reference: &DataRoleRef) -> Self
fn from(reference: &DataRoleRef) -> Self
Converts to this type from the input type.
Source§impl From<&str> for DataSelector
impl From<&str> for DataSelector
Source§impl From<DataRole> for DataSelector
impl From<DataRole> for DataSelector
Source§impl From<DataRoleRef> for DataSelector
impl From<DataRoleRef> for DataSelector
Source§fn from(reference: DataRoleRef) -> Self
fn from(reference: DataRoleRef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for DataSelector
impl Freeze for DataSelectorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<()> is !null: Freeze,
PhantomData<ArcInner<()>>: Freeze,
PhantomData<PanelStep>: Freeze,
*const ArcInner<[RawKey]> is !null: Freeze,
PhantomData<ArcInner<[RawKey]>>: Freeze,
impl Move for DataSelector
impl RefUnwindSafe for DataSelector
impl Send for DataSelector
impl Sync for DataSelector
impl Unpin for DataSelector
impl UnsafeUnpin for DataSelectorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<()> is !null: UnsafeUnpin,
PhantomData<ArcInner<()>>: UnsafeUnpin,
PhantomData<PanelStep>: UnsafeUnpin,
*const ArcInner<[RawKey]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[RawKey]>>: UnsafeUnpin,
impl UnwindSafe for DataSelectorwhere
RawVecInner: UnwindSafe,
Arc<()>: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<[RawKey]>: 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.