pub struct GlowEffect {
pub rad: i64,
pub color: Color,
}Expand description
发光效果(<a:glow>)。
Fields§
§rad: i64发光半径(EMU)。
color: Color发光颜色。
Trait Implementations§
Source§impl Clone for GlowEffect
impl Clone for GlowEffect
Source§fn clone(&self) -> GlowEffect
fn clone(&self) -> GlowEffect
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 GlowEffect
impl Debug for GlowEffect
Source§impl Default for GlowEffect
impl Default for GlowEffect
Source§fn default() -> GlowEffect
fn default() -> GlowEffect
Returns the “default value” for a type. Read more
impl Eq for GlowEffect
Source§impl PartialEq for GlowEffect
impl PartialEq for GlowEffect
Source§fn eq(&self, other: &GlowEffect) -> bool
fn eq(&self, other: &GlowEffect) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GlowEffect
Auto Trait Implementations§
impl Freeze for GlowEffect
impl RefUnwindSafe for GlowEffect
impl Send for GlowEffect
impl Sync for GlowEffect
impl Unpin for GlowEffect
impl UnsafeUnpin for GlowEffect
impl UnwindSafe for GlowEffect
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.