This reference describes unreleased code on main; no release documents it yet.

rlmesh::View

structPreviewuse rlmesh::View;[source]

Live display options.

struct View

backend

field[source]
backend: ViewBackend

Terminal, HTTP, or both.

port

field[source]
port: u16

HTTP port (1..65535).

fps

field[source]
fps: u64

Maximum drawing rate (at least 1).

source

field[source]
source: Option<String>

Initially selected frame source; otherwise the first image role.

format

field[source]
format: ViewFormat

HTTP image format.

quality

field[source]
quality: u8

JPEG quality (1..100).

hold

field[source]
hold: ViewHold

Retain the final frame on a successful close.

step_hz

field[source]
step_hz: Option<f64>

Optional positive finite env stepping rate.

parse

associated function[source]
fn parse(text: &str) -> Result<Self>

Parse case-insensitive shorthand, ignoring outer whitespace.

validate

method[source]
fn validate(&self) -> Result<()>

Validate before consuming this plain value.

Trait implementations

  • impl Clone for View
  • impl Debug for View
  • impl StructuralPartialEq for View
  • impl PartialEq for View
  • impl Default for View
  • impl FromStr for View
  • impl Display for View