pub struct Composition {
pub options: CompositionOptions,
pub tree: Tree<RenderSegment>,
}
Expand description
A composition output, including the tree of rendered segments, produced from
Composer::compose
.
Fields§
§options: CompositionOptions
The options used during this composition.
tree: Tree<RenderSegment>
The tree of rendered Segment
s produced during composition.
Trait Implementations§
Source§impl Debug for Composition
impl Debug for Composition
Source§impl<'de> Deserialize<'de> for Composition
impl<'de> Deserialize<'de> for Composition
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Composition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Composition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MidiBytesProvider for Composition
impl MidiBytesProvider for Composition
Source§impl Serialize for Composition
impl Serialize for Composition
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Composition
impl !RefUnwindSafe for Composition
impl !Send for Composition
impl !Sync for Composition
impl Unpin for Composition
impl !UnwindSafe for Composition
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<M> SF2Synthesizable<M> for Mwhere
M: MidiBytesProvider,
impl<M> SF2Synthesizable<M> for Mwhere
M: MidiBytesProvider,
Source§fn synthesize_with<'a>(
&'a self,
synth: &'a SF2Synthesizer,
) -> SF2SynthesisRequest<'a, M>
fn synthesize_with<'a>( &'a self, synth: &'a SF2Synthesizer, ) -> SF2SynthesisRequest<'a, M>
Prepare to synthesize with a
SF2Synthesizer
.