pub struct Asked {
pub name: String,
pub dest: Option<Destination>,
pub node: Option<String>,
pub brief: bool,
pub skim: bool,
/* private fields */
}Expand description
A call resolved to the reading it names and the arguments only a front end reads. Its times stay as written until a render says what a bar lasts.
Fields§
§name: String§dest: Option<Destination>§node: Option<String>bindings(node=@voice): the instance whose bindings are read.
brief: boolledger(brief=1): only the rows that clipped.
skim: boolledger(skim=1): each row’s level alone.
Implementations§
Source§impl Asked
impl Asked
Sourcepub fn off_samples(&self, sampled: bool) -> bool
pub fn off_samples(&self, sampled: bool) -> bool
Whether the reading answers off samples alone, as Representation::off_samples.
Sourcepub fn representation(
&self,
rate: u32,
seconds_per_bar: Option<f64>,
) -> Result<Representation, CliError>
pub fn representation( &self, rate: u32, seconds_per_bar: Option<f64>, ) -> Result<Representation, CliError>
The reading at rate, every time argument in seconds: a bar is seconds_per_bar,
and one written where no tempo is known refuses.
pub fn path(&self) -> Option<&Path>
Trait Implementations§
impl StructuralPartialEq for Asked
Auto Trait Implementations§
impl Freeze for Asked
impl RefUnwindSafe for Asked
impl Send for Asked
impl Sync for Asked
impl Unpin for Asked
impl UnsafeUnpin for Asked
impl UnwindSafe for Asked
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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