pub enum ShModulationMode {
Tdm {
polarization: ShPolarization,
roll_off: ShRollOff,
modulation_mode: ShModulationModeType,
code_rate: ShCodeRate,
symbol_rate: u8,
},
Ofdm {
bandwidth: ShBandwidth,
priority: bool,
constellation_and_hierarchy: ShConstellationAndHierarchy,
code_rate: ShCodeRate,
guard_interval: ShGuardInterval,
transmission_mode: ShTransmissionMode,
common_frequency: bool,
},
}Expand description
Modulation mode for an SH delivery system entry (Table 121).
Variants§
Tdm
modulation_type == 0 — Time-Domain Multiplex.
Fields
§
polarization: ShPolarizationpolarization (2 bits) — Table 123.
§
modulation_mode: ShModulationModeTypemodulation_mode (2 bits) — Table 125.
§
code_rate: ShCodeRatecode_rate (4 bits) — Table 126.
Ofdm
modulation_type == 1 — OFDM.
Fields
§
bandwidth: ShBandwidthbandwidth (3 bits) — Table 128.
§
constellation_and_hierarchy: ShConstellationAndHierarchyconstellation_and_hierarchy (3 bits) — Table 130.
§
code_rate: ShCodeRatecode_rate (4 bits) — Table 126.
§
guard_interval: ShGuardIntervalguard_interval (2 bits) — Table 131.
§
transmission_mode: ShTransmissionModetransmission_mode (2 bits) — Table 132.
Trait Implementations§
Source§impl Clone for ShModulationMode
impl Clone for ShModulationMode
Source§fn clone(&self) -> ShModulationMode
fn clone(&self) -> ShModulationMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ShModulationMode
Source§impl Debug for ShModulationMode
impl Debug for ShModulationMode
impl Eq for ShModulationMode
Source§impl PartialEq for ShModulationMode
impl PartialEq for ShModulationMode
Source§fn eq(&self, other: &ShModulationMode) -> bool
fn eq(&self, other: &ShModulationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ShModulationMode
impl Serialize for ShModulationMode
impl StructuralPartialEq for ShModulationMode
Auto Trait Implementations§
impl Freeze for ShModulationMode
impl RefUnwindSafe for ShModulationMode
impl Send for ShModulationMode
impl Sync for ShModulationMode
impl Unpin for ShModulationMode
impl UnsafeUnpin for ShModulationMode
impl UnwindSafe for ShModulationMode
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