#[repr(u8)]pub enum CoordinateFrameType {
Show 50 variants
NorthEastDown = 0,
NorthEastUp = 1,
NorthWestDown = 2,
NorthWestUp = 3,
NorthDownEast = 4,
NorthDownWest = 5,
NorthUpEast = 6,
NorthUpWest = 7,
EastNorthDown = 8,
EastNorthUp = 9,
EastSouthDown = 10,
EastSouthUp = 11,
EastDownNorth = 12,
EastDownSouth = 13,
EastUpNorth = 14,
EastUpSouth = 15,
SouthEastDown = 16,
SouthEastUp = 17,
SouthWestDown = 18,
SouthWestUp = 19,
SouthDownEast = 20,
SouthDownWest = 21,
SouthUpEast = 22,
SouthUpWest = 23,
WestNorthDown = 24,
WestNorthUp = 25,
WestSouthDown = 26,
WestSouthUp = 27,
WestDownNorth = 28,
WestDownSouth = 29,
WestUpNorth = 30,
WestUpSouth = 31,
DownNorthEast = 32,
DownNorthWest = 33,
DownEastNorth = 34,
DownEastSouth = 35,
DownSouthEast = 36,
DownSouthWest = 37,
DownWestNorth = 38,
DownWestSouth = 39,
UpNorthEast = 40,
UpNorthWest = 41,
UpEastNorth = 42,
UpEastSouth = 43,
UpSouthEast = 44,
UpSouthWest = 45,
UpWestNorth = 46,
UpWestSouth = 47,
Other = 48,
Undefined = 255,
}
Expand description
A coordinate frame type.
Variants§
NorthEastDown = 0
Common aerospace reference frame.
See NorthEastDown
.
NorthEastUp = 1
See NorthEastUp
.
NorthWestDown = 2
See NorthWestDown
.
NorthWestUp = 3
See NorthWestUp
.
NorthDownEast = 4
See NorthDownEast
.
NorthDownWest = 5
See NorthDownWest
.
NorthUpEast = 6
See NorthUpEast
.
NorthUpWest = 7
See NorthUpWest
.
EastNorthDown = 8
See EastNorthDown
.
EastNorthUp = 9
Common geography reference frame.
See EastNorthUp
.
EastSouthDown = 10
See EastSouthDown
.
EastSouthUp = 11
See EastSouthUp
.
EastDownNorth = 12
See EastDownNorth
.
§Example usage
This is commonly a right-handed image-space reference frame with the origin in the top-left
corner and z
pointing into the screen, away from the viewer.
EastDownSouth = 13
See EastDownSouth
.
§Example usage
This is commonly a left-handed image-space reference frame with the origin in the top-left
corner and z
pointing out of the screen, toward the viewer.
EastUpNorth = 14
See EastUpNorth
.
EastUpSouth = 15
See EastUpSouth
.
SouthEastDown = 16
See SouthEastDown
.
SouthEastUp = 17
See SouthEastUp
.
SouthWestDown = 18
See SouthWestDown
.
SouthWestUp = 19
See SouthWestUp
.
SouthDownEast = 20
See SouthDownEast
.
SouthDownWest = 21
See SouthDownWest
.
SouthUpEast = 22
See SouthUpEast
.
SouthUpWest = 23
See SouthUpWest
.
WestNorthDown = 24
See WestNorthDown
.
WestNorthUp = 25
See WestNorthUp
.
WestSouthDown = 26
See WestSouthDown
.
WestSouthUp = 27
See WestSouthUp
.
WestDownNorth = 28
See WestDownNorth
.
WestDownSouth = 29
See WestDownSouth
.
WestUpNorth = 30
See WestUpNorth
.
WestUpSouth = 31
See WestUpSouth
.
DownNorthEast = 32
See DownNorthEast
.
DownNorthWest = 33
See DownNorthWest
.
DownEastNorth = 34
See DownEastNorth
.
DownEastSouth = 35
See DownEastSouth
.
DownSouthEast = 36
See DownSouthEast
.
DownSouthWest = 37
See DownSouthWest
.
DownWestNorth = 38
See DownWestNorth
.
DownWestSouth = 39
See DownWestSouth
.
UpNorthEast = 40
See UpNorthEast
.
UpNorthWest = 41
See UpNorthWest
.
UpEastNorth = 42
See UpEastNorth
.
UpEastSouth = 43
See UpEastSouth
.
UpSouthEast = 44
See UpSouthEast
.
UpSouthWest = 45
See UpSouthWest
.
UpWestNorth = 46
See UpWestNorth
.
UpWestSouth = 47
See UpWestSouth
.
Other = 48
An orientation represented by a rotation matrix.
Undefined = 255
An undefined system.
Trait Implementations§
Source§impl Clone for CoordinateFrameType
impl Clone for CoordinateFrameType
Source§fn clone(&self) -> CoordinateFrameType
fn clone(&self) -> CoordinateFrameType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CoordinateFrameType
impl Debug for CoordinateFrameType
Source§impl Default for CoordinateFrameType
impl Default for CoordinateFrameType
Source§fn default() -> CoordinateFrameType
fn default() -> CoordinateFrameType
Source§impl Display for CoordinateFrameType
impl Display for CoordinateFrameType
Source§impl Format for CoordinateFrameType
Available on crate feature defmt
only.
impl Format for CoordinateFrameType
defmt
only.Source§impl From<&CoordinateFrameType> for u8
impl From<&CoordinateFrameType> for u8
Source§fn from(value: &CoordinateFrameType) -> u8
fn from(value: &CoordinateFrameType) -> u8
Source§impl From<CoordinateFrameType> for u8
impl From<CoordinateFrameType> for u8
Source§fn from(value: CoordinateFrameType) -> u8
fn from(value: CoordinateFrameType) -> u8
Source§impl Hash for CoordinateFrameType
impl Hash for CoordinateFrameType
Source§impl Ord for CoordinateFrameType
impl Ord for CoordinateFrameType
Source§fn cmp(&self, other: &CoordinateFrameType) -> Ordering
fn cmp(&self, other: &CoordinateFrameType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for CoordinateFrameType
impl PartialEq for CoordinateFrameType
Source§impl PartialOrd for CoordinateFrameType
impl PartialOrd for CoordinateFrameType
Source§impl TryFrom<u8> for CoordinateFrameType
impl TryFrom<u8> for CoordinateFrameType
impl Copy for CoordinateFrameType
impl Eq for CoordinateFrameType
impl StructuralPartialEq for CoordinateFrameType
Auto Trait Implementations§
impl Freeze for CoordinateFrameType
impl RefUnwindSafe for CoordinateFrameType
impl Send for CoordinateFrameType
impl Sync for CoordinateFrameType
impl Unpin for CoordinateFrameType
impl UnwindSafe for CoordinateFrameType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.