pub struct ReadFieldProjection { /* private fields */ }Expand description
One owned-attribute field in a complete read facet.
Implementations§
Source§impl ReadFieldProjection
impl ReadFieldProjection
Sourcepub const fn new(
token: OwnsFactId,
value: ProjectedTypeRef,
multiplicity: ProjectedMultiplicity,
) -> Self
pub const fn new( token: OwnsFactId, value: ProjectedTypeRef, multiplicity: ProjectedMultiplicity, ) -> Self
Construct one complete-read field.
Sourcepub const fn token(&self) -> &OwnsFactId
pub const fn token(&self) -> &OwnsFactId
Return the field token identity.
Sourcepub const fn value(&self) -> &ProjectedTypeRef
pub const fn value(&self) -> &ProjectedTypeRef
Return the read value type.
Sourcepub const fn multiplicity(&self) -> ProjectedMultiplicity
pub const fn multiplicity(&self) -> ProjectedMultiplicity
Return read container shape.
Trait Implementations§
Source§impl Clone for ReadFieldProjection
impl Clone for ReadFieldProjection
Source§fn clone(&self) -> ReadFieldProjection
fn clone(&self) -> ReadFieldProjection
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 moreSource§impl Debug for ReadFieldProjection
impl Debug for ReadFieldProjection
impl Eq for ReadFieldProjection
Source§impl PartialEq for ReadFieldProjection
impl PartialEq for ReadFieldProjection
Source§impl Serialize for ReadFieldProjection
impl Serialize for ReadFieldProjection
impl StructuralPartialEq for ReadFieldProjection
Auto Trait Implementations§
impl Freeze for ReadFieldProjection
impl RefUnwindSafe for ReadFieldProjection
impl Send for ReadFieldProjection
impl Sync for ReadFieldProjection
impl Unpin for ReadFieldProjection
impl UnsafeUnpin for ReadFieldProjection
impl UnwindSafe for ReadFieldProjection
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