Struct telexide::model::MaskPosition [−][src]
pub struct MaskPosition { pub point: MaskPoint, pub x_shift: f64, pub y_shift: f64, pub scale: f64, }
This object describes the position on faces where a mask should be placed by default.
Fields
point: MaskPoint
The part of the face relative to which the mask should be placed
x_shift: f64
Shift by X-axis measured in widths of the mask scaled to the face size, from left to right. For example, choosing -1.0 will place mask just to the left of the default mask position.
y_shift: f64
Shift by Y-axis measured in heights of the mask scaled to the face size, from top to bottom. For example, 1.0 will place the mask just below the default mask position.
scale: f64
Mask scaling coefficient. For example, 2.0 means double size.
Trait Implementations
impl Clone for MaskPosition
[src]
impl Clone for MaskPosition
[src]fn clone(&self) -> MaskPosition
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for MaskPosition
[src]
impl<'de> Deserialize<'de> for MaskPosition
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<MaskPosition> for MaskPosition
[src]
impl PartialEq<MaskPosition> for MaskPosition
[src]fn eq(&self, other: &MaskPosition) -> bool
[src]
fn ne(&self, other: &MaskPosition) -> bool
[src]
impl Serialize for MaskPosition
[src]
impl Serialize for MaskPosition
[src]impl StructuralPartialEq for MaskPosition
[src]
impl StructuralPartialEq for MaskPosition
[src]Auto Trait Implementations
impl RefUnwindSafe for MaskPosition
impl RefUnwindSafe for MaskPosition
impl Send for MaskPosition
impl Send for MaskPosition
impl Sync for MaskPosition
impl Sync for MaskPosition
impl Unpin for MaskPosition
impl Unpin for MaskPosition
impl UnwindSafe for MaskPosition
impl UnwindSafe for MaskPosition
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
[src]
impl<T> CloneAny for T where
T: Any + Clone,
[src]pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,