pub struct VoiceWaveBars {
pub width: f64,
pub height: f64,
pub phase: f64,
pub bars: Vec<VoiceWaveBar>,
}Expand description
One frame of the meter: the root box (count × barWidth + (count − 1) ×
gap wide, height tall), the phase and every bar rect (px from the
box’s top-left), filled with the bar part colour.
Fields§
§width: f64§height: f64§phase: f64§bars: Vec<VoiceWaveBar>Trait Implementations§
Source§impl Clone for VoiceWaveBars
impl Clone for VoiceWaveBars
Source§impl Debug for VoiceWaveBars
impl Debug for VoiceWaveBars
Source§impl<'de> Deserialize<'de> for VoiceWaveBars
impl<'de> Deserialize<'de> for VoiceWaveBars
Source§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
Source§impl PartialEq for VoiceWaveBars
impl PartialEq for VoiceWaveBars
Source§impl Serialize for VoiceWaveBars
impl Serialize for VoiceWaveBars
impl StructuralPartialEq for VoiceWaveBars
Auto Trait Implementations§
impl Freeze for VoiceWaveBars
impl RefUnwindSafe for VoiceWaveBars
impl Send for VoiceWaveBars
impl Sync for VoiceWaveBars
impl Unpin for VoiceWaveBars
impl UnsafeUnpin for VoiceWaveBars
impl UnwindSafe for VoiceWaveBars
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