pub struct MaskCoords {
pub n: i32,
pub x: f64,
pub y: f64,
pub zoom: f64,
}Expand description
Fields§
§n: i32§x: f64§y: f64§zoom: f64Trait Implementations§
Source§impl Clone for MaskCoords
impl Clone for MaskCoords
Source§fn clone(&self) -> MaskCoords
fn clone(&self) -> MaskCoords
Returns a duplicate of the value. Read more
1.0.0 · 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 MaskCoords
impl Debug for MaskCoords
Source§impl Deserializable for MaskCoords
impl Deserializable for MaskCoords
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<MaskCoords> for MaskCoords
impl From<MaskCoords> for MaskCoords
Source§fn from(x: MaskCoords) -> Self
fn from(x: MaskCoords) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MaskCoords
impl Identifiable for MaskCoords
Source§const CONSTRUCTOR_ID: u32 = 0xaed6dbb2
const CONSTRUCTOR_ID: u32 = 0xaed6dbb2
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MaskCoords
impl PartialEq for MaskCoords
Source§impl Serializable for MaskCoords
impl Serializable for MaskCoords
Source§impl TryFrom<MaskCoords> for MaskCoords
impl TryFrom<MaskCoords> for MaskCoords
Source§type Error = MaskCoords
type Error = MaskCoords
The type returned in the event of a conversion error.
impl StructuralPartialEq for MaskCoords
Auto Trait Implementations§
impl Freeze for MaskCoords
impl RefUnwindSafe for MaskCoords
impl Send for MaskCoords
impl Sync for MaskCoords
impl Unpin for MaskCoords
impl UnsafeUnpin for MaskCoords
impl UnwindSafe for MaskCoords
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