pub struct ProjectionGroupPrefixBuilder(/* private fields */);Expand description
Builder for a syntactically canonical projection group prefix.
Implementations§
Source§impl ProjectionGroupPrefixBuilder
impl ProjectionGroupPrefixBuilder
Sourcepub fn new(
identity: ProjectionIdentity,
generation: ProjectionGeneration,
) -> Self
pub fn new( identity: ProjectionIdentity, generation: ProjectionGeneration, ) -> Self
Starts a prefix with its exact identity and nonzero generation.
Sourcepub fn push_component(
&mut self,
value: CanonicalValue,
) -> Result<&mut Self, ProjectionKeyError>
pub fn push_component( &mut self, value: CanonicalValue, ) -> Result<&mut Self, ProjectionKeyError>
Appends one complete canonical leading scalar component.
Sourcepub fn finish(self) -> ProjectionGroupPrefix
pub fn finish(self) -> ProjectionGroupPrefix
Finishes a zero-or-more-component syntactically canonical prefix.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProjectionGroupPrefixBuilder
impl RefUnwindSafe for ProjectionGroupPrefixBuilder
impl Send for ProjectionGroupPrefixBuilder
impl Sync for ProjectionGroupPrefixBuilder
impl Unpin for ProjectionGroupPrefixBuilder
impl UnsafeUnpin for ProjectionGroupPrefixBuilder
impl UnwindSafe for ProjectionGroupPrefixBuilder
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