Skip to main content

BindingProblem

Enum BindingProblem 

Source
#[non_exhaustive]
pub enum BindingProblem {
Show 18 variants UnknownData, WrongKind(DataKind), TypeRefusesData, ClockRefusesAnchor, UnknownChannel, ViaRequired, ViaForbidden, ViaWrongReader, UnknownViaClip, InvalidViaNode, ViaShowsOtherSource, SpaceRequired, FieldNotApplicable(&'static str), InvalidRemap, Cycle, TooDeep, NotOwnSource, InvalidCaptionTrack,
}
Expand description

What is wrong with a DataBinding, a CorrectionRef or a CaptionsFromWords.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

UnknownData

It names no data set of the project.

§

WrongKind(DataKind)

The data set’s kind does not fit the place’s type.

§

TypeRefusesData

The value’s type takes no data (an effect parameter that is not a Float or Vec2).

§

ClockRefusesAnchor

The place’s clock refuses this anchor, as a composition-time place refuses a timeline anchor and a picture-time place refuses any.

§

UnknownChannel

The channel is not one of the data set’s.

§

ViaRequired

A source-anchored set needs via.

§

ViaForbidden

A timeline-anchored set takes no via.

§

ViaWrongReader

via names a clip at a composition-time place, or a node at a timeline-time place.

§

UnknownViaClip

via names no timeline clip.

§

InvalidViaNode

via names no node of the composition, or one that is not a media node.

§

ViaShowsOtherSource

The reader does not show the data set’s source.

§

SpaceRequired

A point read through via needs space.

§

FieldNotApplicable(&'static str)

space, offset or remap where it does not apply, or canvas through a node.

§

InvalidRemap

remap has a non-finite value or equal inputs; offset a non-finite component.

§

Cycle

Following clips in canvas space forms a cycle.

§

TooDeep

The clip follows clips in canvas space through more than MAX_FOLLOW_DEPTH links.

§

NotOwnSource

A correction’s data set is not anchored to the clip’s own source.

§

InvalidCaptionTrack

A caption track’s track is missing for a source anchor, given for a timeline anchor, or names no visual or audio track; or max_chars is zero.

Trait Implementations§

Source§

impl Clone for BindingProblem

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for BindingProblem

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for BindingProblem

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for BindingProblem

Source§

impl PartialEq for BindingProblem

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for BindingProblem

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.