pub enum ChatPosition {
BottomRight,
BottomLeft,
TopRight,
TopLeft,
}Expand description
Позиция виджета чата на странице
Variants§
Trait Implementations§
Source§impl Clone for ChatPosition
impl Clone for ChatPosition
Source§fn clone(&self) -> ChatPosition
fn clone(&self) -> ChatPosition
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 ChatPosition
impl Debug for ChatPosition
Source§impl Default for ChatPosition
impl Default for ChatPosition
Source§fn default() -> ChatPosition
fn default() -> ChatPosition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatPosition
impl<'de> Deserialize<'de> for ChatPosition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ChatPosition
impl Hash for ChatPosition
Source§impl Ord for ChatPosition
impl Ord for ChatPosition
Source§fn cmp(&self, other: &ChatPosition) -> Ordering
fn cmp(&self, other: &ChatPosition) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChatPosition
impl PartialEq for ChatPosition
Source§fn eq(&self, other: &ChatPosition) -> bool
fn eq(&self, other: &ChatPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ChatPosition
impl PartialOrd for ChatPosition
Source§impl Serialize for ChatPosition
impl Serialize for ChatPosition
impl Copy for ChatPosition
impl Eq for ChatPosition
impl StructuralPartialEq for ChatPosition
Auto Trait Implementations§
impl Freeze for ChatPosition
impl RefUnwindSafe for ChatPosition
impl Send for ChatPosition
impl Sync for ChatPosition
impl Unpin for ChatPosition
impl UnsafeUnpin for ChatPosition
impl UnwindSafe for ChatPosition
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