pub struct GraphicsAgent { /* private fields */ }
Trait Implementations§
Source§impl Agent for GraphicsAgent
impl Agent for GraphicsAgent
Source§type Reach = Context<GraphicsAgent>
type Reach = Context<GraphicsAgent>
Reach capability of the agent.
Source§type Input = GraphicsRequest
type Input = GraphicsRequest
Incoming message type.
Source§type Output = GraphicsResponse
type Output = GraphicsResponse
Outgoing message type.
Source§fn handle_input(&mut self, request: Self::Input, who: HandlerId)
fn handle_input(&mut self, request: Self::Input, who: HandlerId)
This method called on every incoming message.
Source§fn disconnected(&mut self, id: HandlerId)
fn disconnected(&mut self, id: HandlerId)
This method called on when a new bridge destroyed.
Source§fn name_of_resource() -> &'static str
fn name_of_resource() -> &'static str
Represents the name of loading resorce for remote workers which
have to live in a separate files.
Auto Trait Implementations§
impl Freeze for GraphicsAgent
impl !RefUnwindSafe for GraphicsAgent
impl !Send for GraphicsAgent
impl !Sync for GraphicsAgent
impl Unpin for GraphicsAgent
impl !UnwindSafe for GraphicsAgent
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> Dispatched for T
impl<T> Dispatched for T
Source§fn dispatcher() -> Dispatcher<T>
fn dispatcher() -> Dispatcher<T>
Creates a dispatcher to the agent that will not send messages back. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
Source§fn into_opt_prop_value(self) -> Option<V>
fn into_opt_prop_value(self) -> Option<V>
Convert
self
to an optional value of a Properties
struct.Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.