pub enum CameraPreset {
Show 13 variants
OrthographicFront,
IsometricOffAxis1,
IsometricOffAxis2,
IsometricOffAxis3,
IsometricOffAxis4,
IsometricLeftDown,
IsometricLeftUp,
IsometricRightDown,
IsometricRightUp,
PerspectiveFront,
PerspectiveLeft,
PerspectiveRight,
Other(String),
}Expand description
相机预设类型(OOXML ST_PresetCameraType,常用子集)。
完整列表参见 ECMA-376 Part 1 §20.1.10.13。
Variants§
OrthographicFront
orthographicFront(默认,正交前视图)。
IsometricOffAxis1
isometricOffAxis1 ~ isometricOffAxis4:等轴侧视图。
IsometricOffAxis2
IsometricOffAxis3
IsometricOffAxis4
IsometricLeftDown
isometricLeftDown / isometricLeftUp / isometricRightDown / isometricRightUp。
IsometricLeftUp
IsometricRightDown
IsometricRightUp
PerspectiveFront
perspectiveFront:透视前视图。
PerspectiveLeft
perspectiveLeft / perspectiveRight:透视侧视图。
PerspectiveRight
Other(String)
其它未显式枚举的预设(保留原始字符串)。
Implementations§
Source§impl CameraPreset
impl CameraPreset
Trait Implementations§
Source§impl Clone for CameraPreset
impl Clone for CameraPreset
Source§fn clone(&self) -> CameraPreset
fn clone(&self) -> CameraPreset
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 moreSource§impl Debug for CameraPreset
impl Debug for CameraPreset
Source§impl Default for CameraPreset
impl Default for CameraPreset
Source§fn default() -> CameraPreset
fn default() -> CameraPreset
Returns the “default value” for a type. Read more
impl Eq for CameraPreset
Source§impl PartialEq for CameraPreset
impl PartialEq for CameraPreset
Source§fn eq(&self, other: &CameraPreset) -> bool
fn eq(&self, other: &CameraPreset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CameraPreset
Auto Trait Implementations§
impl Freeze for CameraPreset
impl RefUnwindSafe for CameraPreset
impl Send for CameraPreset
impl Sync for CameraPreset
impl Unpin for CameraPreset
impl UnsafeUnpin for CameraPreset
impl UnwindSafe for CameraPreset
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.