pub struct TransmitterBuilder(/* private fields */);Implementations§
Source§impl TransmitterBuilder
impl TransmitterBuilder
pub fn new() -> Self
pub fn new_from_body(body: Transmitter) -> Self
pub fn build(self) -> Transmitter
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_radio_type(self, radio_type: EntityType) -> Self
pub fn with_transmit_state( self, transmit_state: TransmitterTransmitState, ) -> Self
pub fn with_input_source(self, input_source: TransmitterInputSource) -> Self
pub fn with_antenna_location(self, antenna_location: Location) -> Self
pub fn with_relative_antenna_location( self, relative_antenna_location: VectorF32, ) -> Self
pub fn with_antenna_pattern_type( self, antenna_pattern_type: TransmitterAntennaPatternType, ) -> Self
pub fn with_frequency(self, frequency: u64) -> Self
pub fn with_transmit_frequency_bandwidth( self, transmit_frequency_bandwidth: f32, ) -> Self
pub fn with_power(self, power: f32) -> Self
pub fn with_modulation_type(self, modulation_type: ModulationType) -> Self
pub fn with_crypto_system(self, crypto_system: TransmitterCryptoSystem) -> Self
pub fn with_crypto_key_id(self, crypto_key_id: CryptoKeyId) -> Self
pub fn with_modulation_parameters(self, modulation_parameters: Vec<u8>) -> Self
pub fn with_antenna_pattern(self, antenna_pattern: BeamAntennaPattern) -> Self
pub fn with_variable_transmitter_parameters( self, variable_transmitter_parameters: Vec<VariableTransmitterParameter>, ) -> Self
pub fn with_variable_transmitter_parameter( self, variable_transmitter_parameter: VariableTransmitterParameter, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransmitterBuilder
impl RefUnwindSafe for TransmitterBuilder
impl Send for TransmitterBuilder
impl Sync for TransmitterBuilder
impl Unpin for TransmitterBuilder
impl UnwindSafe for TransmitterBuilder
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