pub struct BottomBarData {
pub group_name: String,
pub track_title: Option<String>,
pub track_artist: Option<String>,
pub track_album: Option<String>,
pub album_art_protocol: Option<StatefulProtocol>,
pub playback_state: Option<PlaybackState>,
pub progress: f64,
pub position_ms: u64,
pub duration_ms: u64,
pub volume: u16,
pub is_wide: bool,
pub group_volume_active: bool,
}Expand description
Pre-computed render data for the bottom player bar widget.
Fields§
§group_name: String§track_title: Option<String>§track_artist: Option<String>§track_album: Option<String>§album_art_protocol: Option<StatefulProtocol>§playback_state: Option<PlaybackState>§progress: f64§position_ms: u64§duration_ms: u64§volume: u16§is_wide: bool§group_volume_active: boolTrue when the selected entry is a group header (volume bar shows accent). False for speaker rows (volume bar shows dimmed).
Auto Trait Implementations§
impl Freeze for BottomBarData
impl RefUnwindSafe for BottomBarData
impl Send for BottomBarData
impl Sync for BottomBarData
impl Unpin for BottomBarData
impl UnsafeUnpin for BottomBarData
impl UnwindSafe for BottomBarData
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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