Struct ux::ActorManager [−][src]
pub struct ActorManager { /* fields omitted */ }
Trait Implementations
impl AsRef<ActorManager> for ActorManager
[src]
impl AsRef<ActorManager> for ActorManager
[src]pub fn as_ref(&self) -> &ActorManager
[src]
impl Clone for ActorManager
[src]
impl Clone for ActorManager
[src]pub fn clone(&self) -> ActorManager
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Display for ActorManager
[src]
impl Display for ActorManager
[src]impl Is<ActorManager> for ActorManager
[src]
impl Is<ActorManager> for ActorManager
[src]impl Object for ActorManager
[src]
impl Object for ActorManager
[src]Auto Trait Implementations
impl !RefUnwindSafe for ActorManager
impl !RefUnwindSafe for ActorManager
impl !Send for ActorManager
impl !Send for ActorManager
impl !Sync for ActorManager
impl !Sync for ActorManager
impl Unpin for ActorManager
impl Unpin for ActorManager
impl UnwindSafe for ActorManager
impl UnwindSafe for ActorManager
Blanket Implementations
impl<O> ActorManagerExt for O where
O: Is<ActorManager>,
[src]
impl<O> ActorManagerExt for O where
O: Is<ActorManager>,
[src]pub fn add_actor<P, Q>(&self, container: &P, actor: &Q) -> u64 where
P: Is<Actor>,
Q: Is<Actor>,
[src]
P: Is<Actor>,
Q: Is<Actor>,
add_actor: @manager: A #ActorManager @container: A #Actor @actor: A #Actor
Adds @actor to @container. The actor may not be parented immediately, or at all, if the operation is cancelled.
On successful completion, the #ActorManager::actor_added signal will be fired.
Returns: The ID for this operation.
pub fn cancel_operation(&self, id: u64)
[src]
cancel_operation: @manager: A #ActorManager @id: An operation ID
Cancels the given operation, if it exists. The #ActorManager::operation_cancelled signal is fired whenever an operation is cancelled.
pub fn cancel_operations<P>(&self, actor: &P) where
P: Is<Actor>,
[src]
P: Is<Actor>,
cancel_operations: @manager: A #ActorManager @actor: A #Actor
Cancels all operations associated with the given actor.
pub fn get_n_operations(&self) -> u32
[src]
create_actor: @manager: A #ActorManager @create_func: A #Actor creation function @userdata: data to be passed to the function, or %None @destroy_func: callback to invoke before the operation is removed
Creates a #Actor. The actor may not be created immediately, or at all, if the operation is cancelled.
On successful completion, the #ActorManager::actor_created signal will be fired.
Returns: The ID for this operation.
get_n_operations: @manager: A #ActorManager
Retrieves the amount of operations left in the queue.
Returns: Number of operations left to perform
pub fn get_stage(&self) -> Option<Stage>
[src]
get_stage: @manager: A #ActorManager
Gets the #Stage the actor manager is associated with.
Returns: (transfer none): The #Stage the actor is associated with.
pub fn get_time_slice(&self) -> u32
[src]
get_time_slice: @manager: A #ActorManager
Retrieves the current time slice being used for operations.
Returns: The time-slice being used, in milliseconds
pub fn remove_actor<P, Q>(&self, container: &P, actor: &Q) -> u64 where
P: Is<Actor>,
Q: Is<Actor>,
[src]
P: Is<Actor>,
Q: Is<Actor>,
remove_actor: @manager: A #ActorManager @container: A #Actor @actor: A #Actor
Removes @actor from @container.
On successful completion, the #ActorManager::actor_removed signal will be fired.
Returns: The ID for this operation.
pub fn remove_container<P>(&self, container: &P) where
P: Is<Actor>,
[src]
P: Is<Actor>,
remove_container: @manager: A #ActorManager @container: A #Actor
Removes the container. This is a utility function that works by first removing all the children of the container, then the children itself. This effectively spreads the load of removing a large container. All prior operations associated with this container will be cancelled.
pub fn set_time_slice(&self, msecs: u32)
[src]
set_time_slice: @manager: A #ActorManager @msecs: A time, in milliseconds
Sets the amount of time the actor manager will spend performing operations, before yielding to allow any necessary redrawing to occur.
Lower times will lead to smoother performance, but will increase the amount of time it takes for operations to complete.
pub fn connect_actor_finished<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O, &Actor),
[src]
F: 'static + Fn(&O, &Actor),
pub fn connect_property_n_operations_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
pub fn connect_property_time_slice_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Fn(&O),
[src]
F: 'static + Fn(&O),
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,