pub struct EditionMember {
pub kind: ComponentKind,
pub component: &'static dyn AsComponentId,
}Expand description
A member that joins an edition, named by id string or vtable and tagged with its kind.
Built with the per-kind constructors, so a declaration reads
as EditionMember::array(&"vortex.alp").
Fields§
§kind: ComponentKindWhat kind of member this is.
component: &'static dyn AsComponentIdThe member, named by id string or by vtable.
Implementations§
Source§impl EditionMember
impl EditionMember
Sourcepub const fn array(component: &'static dyn AsComponentId) -> Self
pub const fn array(component: &'static dyn AsComponentId) -> Self
An array encoding member, e.g. vortex.alp.
Sourcepub const fn layout(component: &'static dyn AsComponentId) -> Self
pub const fn layout(component: &'static dyn AsComponentId) -> Self
A layout member, e.g. vortex.flat.
Sourcepub const fn dtype(component: &'static dyn AsComponentId) -> Self
pub const fn dtype(component: &'static dyn AsComponentId) -> Self
An extension dtype member, e.g. vortex.timestamp.
Sourcepub const fn aggregate(component: &'static dyn AsComponentId) -> Self
pub const fn aggregate(component: &'static dyn AsComponentId) -> Self
An aggregate function member, e.g. vortex.min.
Trait Implementations§
Source§impl Clone for EditionMember
impl Clone for EditionMember
Source§fn clone(&self) -> EditionMember
fn clone(&self) -> EditionMember
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 moreimpl Copy for EditionMember
Auto Trait Implementations§
impl !RefUnwindSafe for EditionMember
impl !UnwindSafe for EditionMember
impl Freeze for EditionMember
impl Send for EditionMember
impl Sync for EditionMember
impl Unpin for EditionMember
impl UnsafeUnpin for EditionMember
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