Struct term_transcript::svg::ScrollOptions [−][src]
This is supported on crate feature
svg only.Expand description
Options that influence the scrolling animation.
The animation is only displayed if the console exceeds Self::max_height. In this case,
the console will be scrolled vertically with the interval of Self::interval seconds
between every frame. The view is moved 4 lines of text per scroll.
Fields
max_height: usizeMaximum height of the console, in pixels. The default value allows to fit 19 lines of text into the view (potentially, slightly less because of vertical margins around user inputs).
interval: f32Interval between keyframes in seconds. The default value is 4.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ScrollOptions
impl Send for ScrollOptions
impl Sync for ScrollOptions
impl Unpin for ScrollOptions
impl UnwindSafe for ScrollOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
