#[non_exhaustive]pub enum NarrationAlign {
Centred,
Left,
}Expand description
Where narration (lines nobody says) sits in a text box. More ways may come (ADR-0039).
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.
Centred
Across the middle of the box; a lone line in the middle row too.
Left
From BoxPlace::text_x like speech; a lone line on the first row.
Trait Implementations§
Source§impl Clone for NarrationAlign
impl Clone for NarrationAlign
Source§fn clone(&self) -> NarrationAlign
fn clone(&self) -> NarrationAlign
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 moreimpl Copy for NarrationAlign
Source§impl Debug for NarrationAlign
impl Debug for NarrationAlign
Source§impl Default for NarrationAlign
impl Default for NarrationAlign
Source§fn default() -> NarrationAlign
fn default() -> NarrationAlign
Returns the “default value” for a type. Read more
impl Eq for NarrationAlign
Source§impl PartialEq for NarrationAlign
impl PartialEq for NarrationAlign
impl StructuralPartialEq for NarrationAlign
Auto Trait Implementations§
impl Freeze for NarrationAlign
impl RefUnwindSafe for NarrationAlign
impl Send for NarrationAlign
impl Sync for NarrationAlign
impl Unpin for NarrationAlign
impl UnsafeUnpin for NarrationAlign
impl UnwindSafe for NarrationAlign
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