pub struct Rotation3d {
pub lat: i32,
pub lon: i32,
pub rev: i32,
}Expand description
三维旋转(<a:rot>,OOXML CT_SphereCoords)。
三个角度均以 1/60000 度为单位:
lat:纬度(-90°~90°,即 -5400000~5400000)lon:经度(0°~360°,即 0~21600000)rev:滚转(沿视线轴的旋转)
Fields§
§lat: i32纬度(1/60000 度)。
lon: i32经度(1/60000 度)。
rev: i32滚转(1/60000 度)。
Implementations§
Trait Implementations§
Source§impl Clone for Rotation3d
impl Clone for Rotation3d
Source§fn clone(&self) -> Rotation3d
fn clone(&self) -> Rotation3d
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Rotation3d
Source§impl Debug for Rotation3d
impl Debug for Rotation3d
Source§impl Default for Rotation3d
impl Default for Rotation3d
Source§fn default() -> Rotation3d
fn default() -> Rotation3d
Returns the “default value” for a type. Read more
impl Eq for Rotation3d
Source§impl PartialEq for Rotation3d
impl PartialEq for Rotation3d
Source§fn eq(&self, other: &Rotation3d) -> bool
fn eq(&self, other: &Rotation3d) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Rotation3d
Auto Trait Implementations§
impl Freeze for Rotation3d
impl RefUnwindSafe for Rotation3d
impl Send for Rotation3d
impl Sync for Rotation3d
impl Unpin for Rotation3d
impl UnsafeUnpin for Rotation3d
impl UnwindSafe for Rotation3d
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.