Skip to main content

EditorLabels

Struct EditorLabels 

Source
#[non_exhaustive]
pub struct EditorLabels {
Show 51 fields pub try_it: String, pub back_to_editing: String, pub chapter: String, pub new_chapter: String, pub tab_annotations: String, pub tab_screen: String, pub tab_transitions: String, pub tab_pointer: String, pub tab_interaction: String, pub tools: String, pub library_hint: String, pub track_film: String, pub style: String, pub style_balloon: String, pub style_label: String, pub soft: String, pub soft_hint: String, pub start: String, pub timeline: String, pub undo: String, pub redo: String, pub split: String, pub delete: String, pub save: String, pub play: String, pub pause: String, pub effects: String, pub properties: String, pub nothing_selected: String, pub film_clip: String, pub title_card: String, pub callout: String, pub caption: String, pub spotlight: String, pub hide: String, pub zoom: String, pub fade_in: String, pub fade_out: String, pub pointer_highlight: String, pub hotspot: String, pub text: String, pub subtitle: String, pub duration: String, pub speed: String, pub wait_for_click: String, pub timeline_zoom: String, pub position: String, pub previous_chapter: String, pub next_chapter: String, pub drag_hint: String, pub new_text: String,
}
Expand description

The words a MovieEditor shows. English by default.

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.
§try_it: String

Tries the film the way people will watch it.

§back_to_editing: String

Goes back from trying it.

§chapter: String

Adds a chapter at the playhead.

§new_chapter: String

A chapter’s first name.

§tab_annotations: String

The tool tab with callouts and captions.

§tab_screen: String

The tool tab with what acts on the screen.

§tab_transitions: String

The tool tab with fades.

§tab_pointer: String

The tool tab for the pointer.

§tab_interaction: String

The tool tab with clickable spots.

§tools: String

The tool bar’s name.

§library_hint: String

The hint at the foot of the library.

§track_film: String

The film’s row on the timeline.

§style: String

How a callout looks.

§style_balloon: String

A balloon with a colored edge.

§style_label: String

A filled label.

§soft: String

A callout comes and goes gradually.

§soft_hint: String

What being soft means.

§start: String

When it starts.

§timeline: String

The film’s size and length, under its name.

§undo: String

Takes the last edit back.

§redo: String

Puts it back.

§split: String

Cuts the clip at the playhead.

§delete: String

Deletes what is selected.

§save: String

Saves the film with its edits.

§play: String

Plays.

§pause: String

Pauses.

§effects: String

The heading of the effects.

§properties: String

The heading of the properties.

§nothing_selected: String

The properties panel with nothing selected.

§film_clip: String

A clip of the film.

§title_card: String

A title card.

§callout: String

A balloon with text.

§caption: String

A line of subtitles.

§spotlight: String

Lights up one region.

§hide: String

Covers a region.

§zoom: String

Zooms into a region.

§fade_in: String

Comes in from black.

§fade_out: String

Goes out to black.

§pointer_highlight: String

A circle around the pointer.

§hotspot: String

A spot that talks to the watcher.

§text: String

The text of what is selected.

§subtitle: String

A title card’s second line.

§duration: String

How long it lasts.

§speed: String

How fast a clip plays.

§wait_for_click: String

A hotspot waits for a click.

§timeline_zoom: String

The zoom of the timeline itself.

§position: String

The position of the playhead.

§previous_chapter: String

Goes to the chapter before.

§next_chapter: String

Goes to the chapter after.

§drag_hint: String

How a region is placed.

§new_text: String

The first words of a new callout.

Implementations§

Source§

impl EditorLabels

Source

pub fn from_texts(texts: &Texts) -> Self

The texts of a catalog, in its language. What it does not have comes from English.

Source

pub fn pt_br() -> Self

The words in Brazilian Portuguese.

Trait Implementations§

Source§

impl Clone for EditorLabels

Source§

fn clone(&self) -> EditorLabels

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 EditorLabels

Source§

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

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

impl Default for EditorLabels

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

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
§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more