Struct amethyst_ui::UiTransformBuilder [−][src]
pub struct UiTransformBuilder { /* fields omitted */ }Loadable UiTransform data
Methods
impl UiTransformBuilder[src]
impl UiTransformBuilderpub fn with_id<S>(self, id: S) -> Self where
S: ToString, [src]
pub fn with_id<S>(self, id: S) -> Self where
S: ToString, Set id
pub fn with_position(self, x: f32, y: f32, z: f32) -> Self[src]
pub fn with_position(self, x: f32, y: f32, z: f32) -> SelfSet position
pub fn with_size(self, width: f32, height: f32) -> Self[src]
pub fn with_size(self, width: f32, height: f32) -> SelfSet size
pub fn with_tab_order(self, tab_order: i32) -> Self[src]
pub fn with_tab_order(self, tab_order: i32) -> SelfSet tab order
pub fn transparent(self) -> Self[src]
pub fn transparent(self) -> SelfSet to event transparent
pub fn reactive(self) -> Self[src]
pub fn reactive(self) -> SelfAdd mouse reactive
pub fn with_anchor(self, anchor: Anchor) -> Self[src]
pub fn with_anchor(self, anchor: Anchor) -> SelfSet anchor
pub fn with_stretch(self, stretch: Stretch) -> Self[src]
pub fn with_stretch(self, stretch: Stretch) -> SelfSet stretch
Trait Implementations
impl Debug for UiTransformBuilder[src]
impl Debug for UiTransformBuilderfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for UiTransformBuilder[src]
impl Clone for UiTransformBuilderfn clone(&self) -> UiTransformBuilder[src]
fn clone(&self) -> UiTransformBuilderReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Default for UiTransformBuilder[src]
impl Default for UiTransformBuilderimpl<'a> PrefabData<'a> for UiTransformBuilder[src]
impl<'a> PrefabData<'a> for UiTransformBuildertype SystemData = (WriteStorage<'a, UiTransform>, WriteStorage<'a, MouseReactive>)
SystemData needed to perform the load
type Result = ()
The result type returned by the load operation
fn load_prefab(
&self,
entity: Entity,
system_data: &mut Self::SystemData,
_: &[Entity]
) -> Result<(), PrefabError>[src]
fn load_prefab(
&self,
entity: Entity,
system_data: &mut Self::SystemData,
_: &[Entity]
) -> Result<(), PrefabError>Load the data for this prefab onto the given Entity Read more
fn trigger_sub_loading(
&mut self,
_progress: &mut ProgressCounter,
_system_data: &mut Self::SystemData
) -> Result<bool, Error>[src]
fn trigger_sub_loading(
&mut self,
_progress: &mut ProgressCounter,
_system_data: &mut Self::SystemData
) -> Result<bool, Error>Trigger asset loading for any sub assets. Read more
Auto Trait Implementations
impl Send for UiTransformBuilder
impl Send for UiTransformBuilderimpl Sync for UiTransformBuilder
impl Sync for UiTransformBuilder