pub enum ProfilePartCount {
ZeroOrMore,
OneOrMore,
Optional,
Required,
}Expand description
Repetition rule for a profile part kind.
Variants§
ZeroOrMore
Zero or more parts.
OneOrMore
One or more parts.
Optional
Zero or one part.
Required
Exactly one part.
Trait Implementations§
Source§impl Clone for ProfilePartCount
impl Clone for ProfilePartCount
Source§fn clone(&self) -> ProfilePartCount
fn clone(&self) -> ProfilePartCount
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 ProfilePartCount
Source§impl Debug for ProfilePartCount
impl Debug for ProfilePartCount
impl Eq for ProfilePartCount
Source§impl PartialEq for ProfilePartCount
impl PartialEq for ProfilePartCount
impl StructuralPartialEq for ProfilePartCount
Auto Trait Implementations§
impl Freeze for ProfilePartCount
impl RefUnwindSafe for ProfilePartCount
impl Send for ProfilePartCount
impl Sync for ProfilePartCount
impl Unpin for ProfilePartCount
impl UnsafeUnpin for ProfilePartCount
impl UnwindSafe for ProfilePartCount
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