pub struct SignalBuilder(/* private fields */);Implementations§
Source§impl SignalBuilder
impl SignalBuilder
pub fn new() -> Self
pub fn new_from_body(body: Signal) -> Self
pub fn build(self) -> Signal
pub fn with_radio_reference_id(self, radio_reference_id: EntityId) -> Self
pub fn with_radio_number(self, radio_number: u16) -> Self
pub fn with_encoding_scheme(self, encoding_scheme: EncodingScheme) -> Self
pub fn with_tdl_type(self, tdl_type: SignalTdlType) -> Self
pub fn with_sample_rate(self, sample_rate: u32) -> Self
pub fn with_samples(self, samples: u16) -> Self
pub fn with_data(self, data: Vec<u8>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SignalBuilder
impl RefUnwindSafe for SignalBuilder
impl Send for SignalBuilder
impl Sync for SignalBuilder
impl Unpin for SignalBuilder
impl UnwindSafe for SignalBuilder
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