pub struct Rendered {
pub config: RenderConfig,
pub warnings: Vec<Warning>,
pub expression: String,
pub target: String,
pub render: Render,
pub graph: Graph,
}Fields§
§config: RenderConfig§warnings: Vec<Warning>What the song’s files earn: each prints, and the render goes on.
expression: String§target: String§render: Render§graph: GraphSo a structural check needs no second parse, and an ad-hoc target is the same probe.
Implementations§
Source§impl Rendered
impl Rendered
pub fn answer( &self, node: &str, representation: Representation, ) -> Result<Answer, CliError>
Sourcepub fn seconds_per_bar(&self) -> Option<f64>
pub fn seconds_per_bar(&self) -> Option<f64>
What a bar lasts in this render’s tempo; None where it has none.
Sourcepub fn answered(&self, asked: &Asked) -> Result<Answer, CliError>
pub fn answered(&self, asked: &Asked) -> Result<Answer, CliError>
asked’s reading, its bars in this render’s tempo.
pub fn label(&self) -> Option<&Label>
Auto Trait Implementations§
impl !RefUnwindSafe for Rendered
impl !Send for Rendered
impl !Sync for Rendered
impl !UnwindSafe for Rendered
impl Freeze for Rendered
impl Unpin for Rendered
impl UnsafeUnpin for Rendered
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more