#[non_exhaustive]pub struct InputAttributes {
pub track_definitions: Vec<TrackDefinition>,
/* private fields */
}
Expand description
Input attributes that provide additional information about the input asset.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.track_definitions: Vec<TrackDefinition>
Optional. A list of track definitions for the input asset.
Implementations§
Source§impl InputAttributes
impl InputAttributes
pub fn new() -> Self
Sourcepub fn set_track_definitions<T, V>(self, v: T) -> Self
pub fn set_track_definitions<T, V>(self, v: T) -> Self
Sets the value of track_definitions.
Trait Implementations§
Source§impl Clone for InputAttributes
impl Clone for InputAttributes
Source§fn clone(&self) -> InputAttributes
fn clone(&self) -> InputAttributes
Returns a duplicate of the value. Read more
1.0.0 · 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 InputAttributes
impl Debug for InputAttributes
Source§impl Default for InputAttributes
impl Default for InputAttributes
Source§fn default() -> InputAttributes
fn default() -> InputAttributes
Returns the “default value” for a type. Read more
Source§impl Message for InputAttributes
impl Message for InputAttributes
Source§impl PartialEq for InputAttributes
impl PartialEq for InputAttributes
impl StructuralPartialEq for InputAttributes
Auto Trait Implementations§
impl Freeze for InputAttributes
impl RefUnwindSafe for InputAttributes
impl Send for InputAttributes
impl Sync for InputAttributes
impl Unpin for InputAttributes
impl UnwindSafe for InputAttributes
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