pub enum MaterialPreset {
Show 15 variants
WarmMatte,
Clear,
DarkEdge,
Flat,
LegacyMatte,
LegacyMetallic,
LegacyPlastic,
LegacyWireframe,
Matte,
Metallic,
Plastic,
Powder,
SoftEdge,
SoftMetal,
Other(String),
}Expand description
形状材质预设(OOXML ST_PresetMaterialType,常用子集)。
Variants§
WarmMatte
warmMatte(暖色哑光,默认)。
Clear
clear:透明。
DarkEdge
dkEdge:暗边缘。
Flat
flat:平面。
LegacyMatte
legacyMatte:旧版哑光。
LegacyMetallic
legacyMetallic:旧版金属。
LegacyPlastic
legacyPlastic:旧版塑料。
LegacyWireframe
legacyWireframe:旧版线框。
Matte
matte:哑光。
Metallic
metallic:金属。
Plastic
plastic:塑料。
Powder
powder:粉末。
SoftEdge
softEdge:柔边。
SoftMetal
softmetal:软金属。
Other(String)
其它未显式枚举的材质(保留原始字符串)。
Implementations§
Trait Implementations§
Source§impl Clone for MaterialPreset
impl Clone for MaterialPreset
Source§fn clone(&self) -> MaterialPreset
fn clone(&self) -> MaterialPreset
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 MaterialPreset
impl Debug for MaterialPreset
Source§impl Default for MaterialPreset
impl Default for MaterialPreset
Source§fn default() -> MaterialPreset
fn default() -> MaterialPreset
Returns the “default value” for a type. Read more
impl Eq for MaterialPreset
Source§impl PartialEq for MaterialPreset
impl PartialEq for MaterialPreset
Source§fn eq(&self, other: &MaterialPreset) -> bool
fn eq(&self, other: &MaterialPreset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaterialPreset
Auto Trait Implementations§
impl Freeze for MaterialPreset
impl RefUnwindSafe for MaterialPreset
impl Send for MaterialPreset
impl Sync for MaterialPreset
impl Unpin for MaterialPreset
impl UnsafeUnpin for MaterialPreset
impl UnwindSafe for MaterialPreset
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.