pub struct UI {
pub client: Arc<Client>,
}
Fields§
§client: Arc<Client>
Implementations§
Source§impl UI
impl UI
pub fn message_stream( &self, content: String, duration: f32, position: MessagePosition, color: (f64, f64, f64), size: f32, ) -> Result<Stream<()>, RpcError>
pub fn message( &self, content: String, duration: f32, position: MessagePosition, color: (f64, f64, f64), size: f32, ) -> Result<(), RpcError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UI
impl RefUnwindSafe for UI
impl Send for UI
impl Sync for UI
impl Unpin for UI
impl UnwindSafe for UI
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