[−][src]Struct sgp4_rs::TwoLineElement
Implementations
impl TwoLineElement
[src]
pub fn new(line1: &str, line2: &str) -> Result<TwoLineElement, Error>
[src]
Create a validated TwoLineElement from a string.
pub fn from_lines(combined_lines: &str) -> Result<TwoLineElement, Error>
[src]
Create a TwoLineElement from a string containing both lines, and optionally a header line.
pub fn epoch(&self) -> Result<DateTime<Utc>, Error>
[src]
Get the epoch of a TwoLineElement.
pub fn propagate_to(&self, t: DateTime<Utc>) -> Result<StateVector, Error>
[src]
Propagate a TwoLineElement to the given time to obtain a state vector for the object.
Auto Trait Implementations
impl RefUnwindSafe for TwoLineElement
impl Send for TwoLineElement
impl Sync for TwoLineElement
impl Unpin for TwoLineElement
impl UnwindSafe for TwoLineElement
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,