pub struct CompletionConstraints {
pub thresholds: Vec<MetricThreshold>,
pub preservation: PreservationConstraints,
pub ranges: Vec<PitchRangeConstraint>,
pub style: StyleConstraints,
}Expand description
Complete metric, preservation, range, and style policy for completion.
Fields§
§thresholds: Vec<MetricThreshold>Required after-report thresholds.
preservation: PreservationConstraintsImmutable-source and protected-span requirements.
ranges: Vec<PitchRangeConstraint>Global and voice-specific pitch ranges.
style: StyleConstraintsCandidate subset style envelope.
Trait Implementations§
Source§impl Clone for CompletionConstraints
impl Clone for CompletionConstraints
Source§fn clone(&self) -> CompletionConstraints
fn clone(&self) -> CompletionConstraints
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 CompletionConstraints
impl Debug for CompletionConstraints
Source§impl Default for CompletionConstraints
impl Default for CompletionConstraints
Source§fn default() -> CompletionConstraints
fn default() -> CompletionConstraints
Returns the “default value” for a type. Read more
Source§impl PartialEq for CompletionConstraints
impl PartialEq for CompletionConstraints
impl StructuralPartialEq for CompletionConstraints
Auto Trait Implementations§
impl Freeze for CompletionConstraints
impl RefUnwindSafe for CompletionConstraints
impl Send for CompletionConstraints
impl Sync for CompletionConstraints
impl Unpin for CompletionConstraints
impl UnsafeUnpin for CompletionConstraints
impl UnwindSafe for CompletionConstraints
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more