TranslateTransform
struct · ferroui-base · v0.5.0
struct TranslateTransform
Translates (moves) a visual.
Members
TYPE
const TYPE: &'static $crate::TypeInfo
The runtime type of this class.
to_ref
fn to_ref(self: &Self) -> $crate::Ref<TranslateTransform>
Returns a strong reference to this object.
x_property
fn x_property() -> &'static StyledProperty<f64>
y_property
fn y_property() -> &'static StyledProperty<f64>
construct
fn construct() -> Self
Creates the class data.
new
fn new() -> Ref<Self>
with_offset
fn with_offset(x: f64, y: f64) -> Ref<Self>
x
fn x(self: &Self) -> f64
The horizontal offset.
set_x
fn set_x(self: &Self, value: f64)
y
fn y(self: &Self) -> f64
The vertical offset.
set_y
fn set_y(self: &Self, value: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeTransformImplExtFerroObjectImplExtClassDefaultsBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>ReceiverAnyErasedDestructorIntoEitherDerefUpcast<T>Upcast<TranslateTransform>StaticTypeObjectTypeSubclassable<T>DefaultConstructibleFerroObjectImplTransformImpl
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.