pub struct DataComponentInfo { /* private fields */ }Expand description
Description of an actual native component and its captured relation.
Implementations§
Source§impl DataComponentInfo
impl DataComponentInfo
Sourcepub fn path(&self) -> &[ComponentPathPart]
pub fn path(&self) -> &[ComponentPathPart]
The actual native getter path.
Sourcepub fn value_type(&self) -> Option<DataValueType>
pub fn value_type(&self) -> Option<DataValueType>
The actual native value type.
Sourcepub fn array_type(&self) -> Option<ArrayValueType>
pub fn array_type(&self) -> Option<ArrayValueType>
Array type, when the component itself is an array.
Sourcepub fn axis_type(&self) -> Option<AxisValueType>
pub fn axis_type(&self) -> Option<AxisValueType>
Axis type, when the component itself is an axis.
Sourcepub fn sources(&self) -> &[DataSourceInfo]
pub fn sources(&self) -> &[DataSourceInfo]
Actual captured source selections of this component.
Trait Implementations§
Source§impl Clone for DataComponentInfo
impl Clone for DataComponentInfo
Source§fn clone(&self) -> DataComponentInfo
fn clone(&self) -> DataComponentInfo
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 DataComponentInfo
impl Freeze for DataComponentInfowhere
*const ArcInner<[ComponentPathPart]> is !null: Freeze,
PhantomData<ArcInner<[ComponentPathPart]>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<[usize]> is !null: Freeze,
PhantomData<ArcInner<[usize]>>: Freeze,
*const ArcInner<SourceInfo> is !null: Freeze,
PhantomData<ArcInner<SourceInfo>>: Freeze,
*const ArcInner<SourceProjection> is !null: Freeze,
PhantomData<ArcInner<SourceProjection>>: 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,
impl Move for DataComponentInfo
impl RefUnwindSafe for DataComponentInfo
impl Send for DataComponentInfo
impl Sync for DataComponentInfo
impl Unpin for DataComponentInfo
impl UnsafeUnpin for DataComponentInfowhere
*const ArcInner<[ComponentPathPart]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[ComponentPathPart]>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<[usize]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[usize]>>: UnsafeUnpin,
*const ArcInner<SourceInfo> is !null: UnsafeUnpin,
PhantomData<ArcInner<SourceInfo>>: UnsafeUnpin,
*const ArcInner<SourceProjection> is !null: UnsafeUnpin,
PhantomData<ArcInner<SourceProjection>>: 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,
impl UnwindSafe for DataComponentInfowhere
Arc<[ComponentPathPart]>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<[usize]>: UnwindSafe,
Arc<SourceInfo>: UnwindSafe,
Arc<SourceProjection>: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: 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.