pub struct ReflectionEffect {
pub blur_rad: Option<i64>,
pub st_a: Option<i32>,
pub st_pos: Option<i32>,
pub end_a: Option<i32>,
pub end_pos: Option<i32>,
pub dist: Option<i64>,
pub dir: Option<i32>,
pub rot_with_shape: Option<bool>,
}Expand description
反射效果(<a:reflection>)。
Fields§
§blur_rad: Option<i64>模糊半径(EMU)。
st_a: Option<i32>起始透明度(0-100000)。
st_pos: Option<i32>起始位置(0-100000)。
end_a: Option<i32>结束透明度(0-100000)。
end_pos: Option<i32>结束位置(0-100000)。
dist: Option<i64>距离(EMU)。
dir: Option<i32>方向(1/60000 度)。
rot_with_shape: Option<bool>是否随形状旋转。
Trait Implementations§
Source§impl Clone for ReflectionEffect
impl Clone for ReflectionEffect
Source§fn clone(&self) -> ReflectionEffect
fn clone(&self) -> ReflectionEffect
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 ReflectionEffect
impl Debug for ReflectionEffect
Source§impl Default for ReflectionEffect
impl Default for ReflectionEffect
Source§fn default() -> ReflectionEffect
fn default() -> ReflectionEffect
Returns the “default value” for a type. Read more
impl Eq for ReflectionEffect
Source§impl PartialEq for ReflectionEffect
impl PartialEq for ReflectionEffect
Source§fn eq(&self, other: &ReflectionEffect) -> bool
fn eq(&self, other: &ReflectionEffect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReflectionEffect
Auto Trait Implementations§
impl Freeze for ReflectionEffect
impl RefUnwindSafe for ReflectionEffect
impl Send for ReflectionEffect
impl Sync for ReflectionEffect
impl Unpin for ReflectionEffect
impl UnsafeUnpin for ReflectionEffect
impl UnwindSafe for ReflectionEffect
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.