pub struct SourceClipFactV1 { /* private fields */ }Expand description
One source animation/stack and its independently covered channel rows.
Implementations§
Source§impl SourceClipFactV1
impl SourceClipFactV1
Sourcepub fn new(
source_clip_index: usize,
source_name: SourceObservationV1<SourceTextV1>,
normalized_clip_index: SourceObservationV1<usize>,
source_range: SourceObservationV1<SourceTimeRangeV1>,
sampler_range: SourceObservationV1<SourceTimeRangeV1>,
channels: SourceFactSetV1<SourceChannelFactV1>,
) -> Self
pub fn new( source_clip_index: usize, source_name: SourceObservationV1<SourceTextV1>, normalized_clip_index: SourceObservationV1<usize>, source_range: SourceObservationV1<SourceTimeRangeV1>, sampler_range: SourceObservationV1<SourceTimeRangeV1>, channels: SourceFactSetV1<SourceChannelFactV1>, ) -> Self
Construct one source clip/take fact row.
Sourcepub const fn source_clip_index(&self) -> usize
pub const fn source_clip_index(&self) -> usize
Stable source animation/stack index.
Sourcepub const fn source_name(&self) -> &SourceObservationV1<SourceTextV1>
pub const fn source_name(&self) -> &SourceObservationV1<SourceTextV1>
Authored/parser source name, distinct from a normalized synthetic name.
Sourcepub const fn normalized_clip_index(&self) -> &SourceObservationV1<usize>
pub const fn normalized_clip_index(&self) -> &SourceObservationV1<usize>
Mapping into the normalized Document::clips array.
Sourcepub const fn source_range(&self) -> &SourceObservationV1<SourceTimeRangeV1>
pub const fn source_range(&self) -> &SourceObservationV1<SourceTimeRangeV1>
Parser-resolved source stack range, when this source format has one.
Sourcepub const fn sampler_range(&self) -> &SourceObservationV1<SourceTimeRangeV1>
pub const fn sampler_range(&self) -> &SourceObservationV1<SourceTimeRangeV1>
Range derived from exact authored sampler inputs, when applicable.
Sourcepub const fn channels(&self) -> &SourceFactSetV1<SourceChannelFactV1>
pub const fn channels(&self) -> &SourceFactSetV1<SourceChannelFactV1>
Raw channel/property rows and their independent coverage.
Trait Implementations§
Source§impl Clone for SourceClipFactV1
impl Clone for SourceClipFactV1
Source§fn clone(&self) -> SourceClipFactV1
fn clone(&self) -> SourceClipFactV1
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 SourceClipFactV1
impl Debug for SourceClipFactV1
Source§impl PartialEq for SourceClipFactV1
impl PartialEq for SourceClipFactV1
impl StructuralPartialEq for SourceClipFactV1
Auto Trait Implementations§
impl Freeze for SourceClipFactV1
impl RefUnwindSafe for SourceClipFactV1
impl Send for SourceClipFactV1
impl Sync for SourceClipFactV1
impl Unpin for SourceClipFactV1
impl UnsafeUnpin for SourceClipFactV1
impl UnwindSafe for SourceClipFactV1
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