pub struct GatewayTable<const N: usize> { /* private fields */ }Expand description
Maps ground station IDs to geographic positions and resolves the best gateway satellite via line-of-sight.
Implementations§
Source§impl<const N: usize> GatewayTable<N>
impl<const N: usize> GatewayTable<N>
Sourcepub fn add_station(&mut self, station: u8, position: LatLon)
pub fn add_station(&mut self, station: u8, position: LatLon)
Registers a ground station with its geographic position.
Auto Trait Implementations§
impl<const N: usize> Freeze for GatewayTable<N>
impl<const N: usize> RefUnwindSafe for GatewayTable<N>
impl<const N: usize> Send for GatewayTable<N>
impl<const N: usize> Sync for GatewayTable<N>
impl<const N: usize> Unpin for GatewayTable<N>
impl<const N: usize> UnsafeUnpin for GatewayTable<N>
impl<const N: usize> UnwindSafe for GatewayTable<N>
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