#[non_exhaustive]pub struct TextMapping {
pub atom_key: String,
pub input_key: String,
pub input_track: i32,
/* private fields */
}
Expand description
The mapping for the JobConfig.edit_list atoms with text EditAtom.inputs.
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.atom_key: String
Required. The EditAtom.key that references atom with text inputs in the JobConfig.edit_list.
input_key: String
Required. The Input.key that identifies the input file.
input_track: i32
Required. The zero-based index of the track in the input file.
Implementations§
Source§impl TextMapping
impl TextMapping
pub fn new() -> Self
Sourcepub fn set_atom_key<T: Into<String>>(self, v: T) -> Self
pub fn set_atom_key<T: Into<String>>(self, v: T) -> Self
Sets the value of atom_key.
Sourcepub fn set_input_key<T: Into<String>>(self, v: T) -> Self
pub fn set_input_key<T: Into<String>>(self, v: T) -> Self
Sets the value of input_key.
Sourcepub fn set_input_track<T: Into<i32>>(self, v: T) -> Self
pub fn set_input_track<T: Into<i32>>(self, v: T) -> Self
Sets the value of input_track.
Trait Implementations§
Source§impl Clone for TextMapping
impl Clone for TextMapping
Source§fn clone(&self) -> TextMapping
fn clone(&self) -> TextMapping
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 TextMapping
impl Debug for TextMapping
Source§impl Default for TextMapping
impl Default for TextMapping
Source§fn default() -> TextMapping
fn default() -> TextMapping
Returns the “default value” for a type. Read more
Source§impl Message for TextMapping
impl Message for TextMapping
Source§impl PartialEq for TextMapping
impl PartialEq for TextMapping
impl StructuralPartialEq for TextMapping
Auto Trait Implementations§
impl Freeze for TextMapping
impl RefUnwindSafe for TextMapping
impl Send for TextMapping
impl Sync for TextMapping
impl Unpin for TextMapping
impl UnwindSafe for TextMapping
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