pub struct CommonProperties {Show 16 fields
pub id: Property<Option<String>>,
pub x: Property<Option<Size>>,
pub y: Property<Option<Size>>,
pub width: Property<Option<Size>>,
pub height: Property<Option<Size>>,
pub anchor_x: Property<Option<Size>>,
pub anchor_y: Property<Option<Size>>,
pub scale_x: Property<Option<Size>>,
pub scale_y: Property<Option<Size>>,
pub skew_x: Property<Option<Rotation>>,
pub skew_y: Property<Option<Rotation>>,
pub rotate: Property<Option<Rotation>>,
pub transform: Property<Option<Transform2D>>,
pub unclippable: Property<Option<bool>>,
pub _raycastable: Property<Option<bool>>,
pub _suspended: Property<Option<bool>>,
}
Fields§
§id: Property<Option<String>>
§x: Property<Option<Size>>
§y: Property<Option<Size>>
§width: Property<Option<Size>>
§height: Property<Option<Size>>
§anchor_x: Property<Option<Size>>
§anchor_y: Property<Option<Size>>
§scale_x: Property<Option<Size>>
§scale_y: Property<Option<Size>>
§skew_x: Property<Option<Rotation>>
§skew_y: Property<Option<Rotation>>
§rotate: Property<Option<Rotation>>
§transform: Property<Option<Transform2D>>
§unclippable: Property<Option<bool>>
§_raycastable: Property<Option<bool>>
§_suspended: Property<Option<bool>>
Implementations§
Source§impl CommonProperties
impl CommonProperties
pub fn get_default_properties_literal() -> Vec<(String, String)>
pub fn get_property_identifiers() -> Vec<(String, String)>
pub fn get_as_common_property() -> Vec<CommonProperty>
pub fn retrieve_property_scope(&self) -> HashMap<String, Variable>
Trait Implementations§
Source§impl Clone for CommonProperties
impl Clone for CommonProperties
Source§fn clone(&self) -> CommonProperties
fn clone(&self) -> CommonProperties
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 CommonProperties
impl Debug for CommonProperties
Source§impl Default for CommonProperties
impl Default for CommonProperties
Source§fn default() -> CommonProperties
fn default() -> CommonProperties
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommonProperties
impl RefUnwindSafe for CommonProperties
impl Send for CommonProperties
impl Sync for CommonProperties
impl Unpin for CommonProperties
impl UnwindSafe for CommonProperties
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.