pub struct Band { /* private fields */ }Implementations§
Source§impl Band
impl Band
pub fn new_default(allocation: FrequencyAllocation, region: Region) -> Self
pub fn new( allocation: FrequencyAllocation, start: Frequency, end: Frequency, ) -> Self
pub fn allocation(&self) -> &FrequencyAllocation
pub fn range(&self) -> &FrequencyRange
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Band
impl<'de> Deserialize<'de> for Band
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Band
Auto Trait Implementations§
impl Freeze for Band
impl RefUnwindSafe for Band
impl Send for Band
impl Sync for Band
impl Unpin for Band
impl UnsafeUnpin for Band
impl UnwindSafe for Band
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