[−][src]Struct rustfst::DrawingConfig
Struct to configure how the FST should be drawn.
Fields
vertical: boolDraw bottom-to-top instead of left-to-right.
size: Option<(f32, f32)>Set pair (width, height)
title: StringSet figure title.
portrait: boolPortrait mode (def: landscape).
ranksep: Option<f32>Set minimum separation between ranks (see dot documentation).
nodesep: Option<f32>Set minimum separation between nodes (see dot documentation).
fontsize: u32Set fontsize.
acceptor: boolInput in acceptor format.
show_weight_one: boolPrint/draw transition weights and final weights equal to Weight::ONE.
print_weight: boolPrint/draw transition weights and final weights.
Trait Implementations
impl Clone for DrawingConfig[src]
fn clone(&self) -> DrawingConfig[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DrawingConfig[src]
impl Default for DrawingConfig[src]
impl PartialEq<DrawingConfig> for DrawingConfig[src]
fn eq(&self, other: &DrawingConfig) -> bool[src]
fn ne(&self, other: &DrawingConfig) -> bool[src]
impl StructuralPartialEq for DrawingConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for DrawingConfig
impl Send for DrawingConfig
impl Sync for DrawingConfig
impl Unpin for DrawingConfig
impl UnwindSafe for DrawingConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,