pub struct Decoder { /* private fields */ }Implementations§
Source§impl Decoder
impl Decoder
pub fn new(advanced_ps_decoding: bool) -> Self
Sourcepub fn decode(&mut self, group: &Group, rds_data: &mut RdsData) -> ValidFields
pub fn decode(&mut self, group: &Group, rds_data: &mut RdsData) -> ValidFields
Decode a group of RDS data and update the supplied RDS data object.
Will return a ValidFields bitfield which describes the updated RDS
data fields.
Note: RdsData::valid also describes the valid data fields, but those
are cumulative over all calls to decode() with the same RDS data
object.
Auto Trait Implementations§
impl Freeze for Decoder
impl RefUnwindSafe for Decoder
impl Send for Decoder
impl Sync for Decoder
impl Unpin for Decoder
impl UnsafeUnpin for Decoder
impl UnwindSafe for Decoder
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