Skip to main content

LayoutGeometry

Struct LayoutGeometry 

Source
pub struct LayoutGeometry {
Show 87 fields pub action_first_indent: f32, pub cold_opening_first_indent: f32, pub new_act_first_indent: f32, pub end_of_act_first_indent: f32, pub dual_dialogue_left_first_indent: f32, pub dual_dialogue_right_first_indent: f32, pub dual_dialogue_left_character_first_indent: f32, pub dual_dialogue_left_parenthetical_first_indent: f32, pub dual_dialogue_right_character_first_indent: f32, pub dual_dialogue_right_parenthetical_first_indent: f32, pub character_first_indent: f32, pub dialogue_first_indent: f32, pub parenthetical_first_indent: f32, pub transition_first_indent: f32, pub lyric_first_indent: f32, pub scene_heading_left: f32, pub scene_heading_right: f32, pub scene_heading_first_indent: f32, pub action_left: f32, pub action_right: f32, pub cold_opening_left: f32, pub cold_opening_right: f32, pub new_act_left: f32, pub new_act_right: f32, pub end_of_act_left: f32, pub end_of_act_right: f32, pub dual_dialogue_left_left: f32, pub dual_dialogue_left_right: f32, pub dual_dialogue_right_left: f32, pub dual_dialogue_right_right: f32, pub dual_dialogue_left_character_left: f32, pub dual_dialogue_left_character_right: f32, pub dual_dialogue_left_parenthetical_left: f32, pub dual_dialogue_left_parenthetical_right: f32, pub dual_dialogue_right_character_left: f32, pub dual_dialogue_right_character_right: f32, pub dual_dialogue_right_parenthetical_left: f32, pub dual_dialogue_right_parenthetical_right: f32, pub character_left: f32, pub character_right: f32, pub dialogue_left: f32, pub dialogue_right: f32, pub parenthetical_left: f32, pub parenthetical_right: f32, pub transition_left: f32, pub transition_right: f32, pub lyric_left: f32, pub lyric_right: f32, pub cpi: f32, pub scene_number_left: f32, pub scene_number_right: f32, pub action_alignment: Alignment, pub cold_opening_alignment: Alignment, pub new_act_alignment: Alignment, pub end_of_act_alignment: Alignment, pub scene_heading_alignment: Alignment, pub character_alignment: Alignment, pub dialogue_alignment: Alignment, pub parenthetical_alignment: Alignment, pub transition_alignment: Alignment, pub lyric_alignment: Alignment, pub action_spacing_before: f32, pub cold_opening_spacing_before: f32, pub new_act_spacing_before: f32, pub end_of_act_spacing_before: f32, pub scene_heading_spacing_before: f32, pub character_spacing_before: f32, pub transition_spacing_before: f32, pub lyric_spacing_before: f32, pub action_line_height: f32, pub cold_opening_line_height: f32, pub new_act_line_height: f32, pub end_of_act_line_height: f32, pub scene_heading_line_height: f32, pub character_line_height: f32, pub dialogue_line_height: f32, pub parenthetical_line_height: f32, pub transition_line_height: f32, pub lyric_line_height: f32, pub line_height: f32, pub page_width: f32, pub page_height: f32, pub top_margin: f32, pub bottom_margin: f32, pub header_margin: f32, pub footer_margin: f32, pub lines_per_page: f32,
}

Fields§

§action_first_indent: f32§cold_opening_first_indent: f32§new_act_first_indent: f32§end_of_act_first_indent: f32§dual_dialogue_left_first_indent: f32§dual_dialogue_right_first_indent: f32§dual_dialogue_left_character_first_indent: f32§dual_dialogue_left_parenthetical_first_indent: f32§dual_dialogue_right_character_first_indent: f32§dual_dialogue_right_parenthetical_first_indent: f32§character_first_indent: f32§dialogue_first_indent: f32§parenthetical_first_indent: f32§transition_first_indent: f32§lyric_first_indent: f32§scene_heading_left: f32§scene_heading_right: f32§scene_heading_first_indent: f32§action_left: f32§action_right: f32§cold_opening_left: f32§cold_opening_right: f32§new_act_left: f32§new_act_right: f32§end_of_act_left: f32§end_of_act_right: f32§dual_dialogue_left_left: f32§dual_dialogue_left_right: f32§dual_dialogue_right_left: f32§dual_dialogue_right_right: f32§dual_dialogue_left_character_left: f32§dual_dialogue_left_character_right: f32§dual_dialogue_left_parenthetical_left: f32§dual_dialogue_left_parenthetical_right: f32§dual_dialogue_right_character_left: f32§dual_dialogue_right_character_right: f32§dual_dialogue_right_parenthetical_left: f32§dual_dialogue_right_parenthetical_right: f32§character_left: f32§character_right: f32§dialogue_left: f32§dialogue_right: f32§parenthetical_left: f32§parenthetical_right: f32§transition_left: f32§transition_right: f32§lyric_left: f32§lyric_right: f32§cpi: f32§scene_number_left: f32§scene_number_right: f32§action_alignment: Alignment§cold_opening_alignment: Alignment§new_act_alignment: Alignment§end_of_act_alignment: Alignment§scene_heading_alignment: Alignment§character_alignment: Alignment§dialogue_alignment: Alignment§parenthetical_alignment: Alignment§transition_alignment: Alignment§lyric_alignment: Alignment§action_spacing_before: f32§cold_opening_spacing_before: f32§new_act_spacing_before: f32§end_of_act_spacing_before: f32§scene_heading_spacing_before: f32§character_spacing_before: f32§transition_spacing_before: f32§lyric_spacing_before: f32§action_line_height: f32§cold_opening_line_height: f32§new_act_line_height: f32§end_of_act_line_height: f32§scene_heading_line_height: f32§character_line_height: f32§dialogue_line_height: f32§parenthetical_line_height: f32§transition_line_height: f32§lyric_line_height: f32§line_height: f32§page_width: f32§page_height: f32§top_margin: f32§bottom_margin: f32§header_margin: f32§footer_margin: f32§lines_per_page: f32

Implementations§

Trait Implementations§

Source§

impl Clone for LayoutGeometry

Source§

fn clone(&self) -> LayoutGeometry

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 LayoutGeometry

Source§

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

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

impl Default for LayoutGeometry

Source§

fn default() -> Self

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

impl PartialEq for LayoutGeometry

Source§

fn eq(&self, other: &LayoutGeometry) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for LayoutGeometry

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

impl<T> Finish for T

Source§

fn finish(self)

Does nothing but move self, equivalent to drop.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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<U, T> ToOwnedObj<U> for T
where U: FromObjRef<T>,

Source§

fn to_owned_obj(&self, data: FontData<'_>) -> U

Convert this type into T, using the provided data to resolve any offsets.
Source§

impl<U, T> ToOwnedTable<U> for T
where U: FromTableRef<T>,

Source§

fn to_owned_table(&self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.