pub struct ConnectOptions {
pub role: Role,
pub width: f32,
pub height: f32,
pub density: f32,
pub timeout: Duration,
}Expand description
How Client::connect introduces itself.
Fields§
§role: Role§width: f32The session’s size in logical pixels, and the density (physical pixels per logical pixel). Only a controlling client’s size applies.
height: f32§density: f32§timeout: DurationHow long to wait for the server’s welcome.
Trait Implementations§
Source§impl Clone for ConnectOptions
impl Clone for ConnectOptions
Source§impl Debug for ConnectOptions
impl Debug for ConnectOptions
Auto Trait Implementations§
impl Forget for ConnectOptions
impl Freeze for ConnectOptions
impl Move for ConnectOptions
impl RefUnwindSafe for ConnectOptions
impl Send for ConnectOptions
impl Sync for ConnectOptions
impl Unpin for ConnectOptions
impl UnsafeUnpin for ConnectOptions
impl UnwindSafe for ConnectOptions
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