pub struct AvatarStyle {
pub palette: [Color; 6],
pub foreground: Color,
}Expand description
Avatar 样式(首字头像)。
Fields§
§palette: [Color; 6]按名称哈希轮换的底色池
foreground: ColorTrait Implementations§
Source§impl Clone for AvatarStyle
impl Clone for AvatarStyle
Source§impl Debug for AvatarStyle
impl Debug for AvatarStyle
Source§impl PartialEq for AvatarStyle
impl PartialEq for AvatarStyle
impl StructuralPartialEq for AvatarStyle
Auto Trait Implementations§
impl Forget for AvatarStyle
impl Freeze for AvatarStyle
impl Move for AvatarStyle
impl RefUnwindSafe for AvatarStyle
impl Send for AvatarStyle
impl Sync for AvatarStyle
impl Unpin for AvatarStyle
impl UnsafeUnpin for AvatarStyle
impl UnwindSafe for AvatarStyle
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