pub struct DataValue { /* private fields */ }Expand description
An immutable, independently owning original value with its actual binding.
Implementations§
Source§impl DataValue
impl DataValue
Sourcepub fn info(&self) -> &DataRoleInfo
pub fn info(&self) -> &DataRoleInfo
Actual description of this original value.
Sourcepub fn value(&self) -> &DataPayload
pub fn value(&self) -> &DataPayload
The actual immutable native payload.
Sourcepub fn numeric(&self) -> Result<NumericValues, Error>
pub fn numeric(&self) -> Result<NumericValues, Error>
Read an actual unique numeric vector.
Sourcepub fn category(&self) -> Result<CategoryValues, Error>
pub fn category(&self) -> Result<CategoryValues, Error>
Read an actual unique string category vector.
Sourcepub fn boolean(&self) -> Result<BooleanValues, Error>
pub fn boolean(&self) -> Result<BooleanValues, Error>
Read the actual Boolean vector.
Sourcepub fn axis(&self) -> Result<AxisValues, Error>
pub fn axis(&self) -> Result<AxisValues, Error>
Read a unique actual native axis.
Sourcepub fn source_rows(&self) -> Option<&SourceRows>
pub fn source_rows(&self) -> Option<&SourceRows>
Explicit unique row IDs of the value’s unique alignment domain.
Sourcepub fn members(
&self,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>, Error>
pub fn members( &self, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>, Error>
Read actual original members in this role’s unique domain.
Sourcepub fn members_in(
&self,
domain: &DataDomainRef,
address: impl Into<MemberAddress>,
) -> Result<Option<SourceMembers>, Error>
pub fn members_in( &self, domain: &DataDomainRef, address: impl Into<MemberAddress>, ) -> Result<Option<SourceMembers>, Error>
Read actual original members in a specified domain of this value.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DataValue
impl Freeze for DataValuewhere
*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,
*const ArcInner<DataPayload> is !null: Freeze,
PhantomData<ArcInner<DataPayload>>: Freeze,
impl Move for DataValue
impl RefUnwindSafe for DataValue
impl Send for DataValue
impl Sync for DataValue
impl Unpin for DataValue
impl UnsafeUnpin for DataValuewhere
*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,
*const ArcInner<DataPayload> is !null: UnsafeUnpin,
PhantomData<ArcInner<DataPayload>>: UnsafeUnpin,
impl UnwindSafe for DataValuewhere
Arc<()>: UnwindSafe,
RawVecInner: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: UnwindSafe,
Arc<[RawKey]>: UnwindSafe,
Arc<[usize]>: UnwindSafe,
Arc<[DataDomainInfo]>: UnwindSafe,
Arc<DataPayload>: 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.