TransmitterBuilder

Struct TransmitterBuilder 

Source
pub struct TransmitterBuilder(/* private fields */);

Implementations§

Source§

impl TransmitterBuilder

Source

pub fn new() -> Self

Source

pub fn new_from_body(body: Transmitter) -> Self

Source

pub fn build(self) -> Transmitter

Source

pub fn with_radio_reference_id(self, radio_reference_id: EntityId) -> Self

Source

pub fn with_radio_number(self, radio_number: u16) -> Self

Source

pub fn with_radio_type(self, radio_type: EntityType) -> Self

Source

pub fn with_transmit_state( self, transmit_state: TransmitterTransmitState, ) -> Self

Source

pub fn with_input_source(self, input_source: TransmitterInputSource) -> Self

Source

pub fn with_antenna_location(self, antenna_location: Location) -> Self

Source

pub fn with_relative_antenna_location( self, relative_antenna_location: VectorF32, ) -> Self

Source

pub fn with_antenna_pattern_type( self, antenna_pattern_type: TransmitterAntennaPatternType, ) -> Self

Source

pub fn with_frequency(self, frequency: u64) -> Self

Source

pub fn with_transmit_frequency_bandwidth( self, transmit_frequency_bandwidth: f32, ) -> Self

Source

pub fn with_power(self, power: f32) -> Self

Source

pub fn with_modulation_type(self, modulation_type: ModulationType) -> Self

Source

pub fn with_crypto_system(self, crypto_system: TransmitterCryptoSystem) -> Self

Source

pub fn with_crypto_key_id(self, crypto_key_id: CryptoKeyId) -> Self

Source

pub fn with_modulation_parameters(self, modulation_parameters: Vec<u8>) -> Self

Source

pub fn with_antenna_pattern(self, antenna_pattern: BeamAntennaPattern) -> Self

Source

pub fn with_variable_transmitter_parameters( self, variable_transmitter_parameters: Vec<VariableTransmitterParameter>, ) -> Self

Source

pub fn with_variable_transmitter_parameter( self, variable_transmitter_parameter: VariableTransmitterParameter, ) -> Self

Trait Implementations§

Source§

impl Default for TransmitterBuilder

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.