pub struct ParsedAngle {
pub angle: Angle,
}Expand description
Result of parsing an angle string.
This struct wraps the parsed Angle and may be extended in the future
to include metadata about the parse (detected unit, original sign, etc.).
§Example
use celestial_core::angle::parse_angle;
let parsed = parse_angle("12h30m15s").unwrap();
let angle = parsed.angle; // Extract the AngleFields§
§angle: AngleThe parsed angle value.
Auto Trait Implementations§
impl Freeze for ParsedAngle
impl RefUnwindSafe for ParsedAngle
impl Send for ParsedAngle
impl Sync for ParsedAngle
impl Unpin for ParsedAngle
impl UnsafeUnpin for ParsedAngle
impl UnwindSafe for ParsedAngle
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