[][src]Struct amethyst_rendy::rendy::wsi::winit::os::unix::x11::UnownedWindow

pub struct UnownedWindow {
    pub xconn: Arc<XConnection>,
    pub multitouch: bool,
    pub shared_state: Mutex<RawMutex, SharedState>,
    // some fields omitted
}

Fields

xconn: Arc<XConnection>multitouch: boolshared_state: Mutex<RawMutex, SharedState>

Methods

impl UnownedWindow[src]

pub fn new(
    event_loop: &EventsLoop,
    window_attrs: WindowAttributes,
    pl_attribs: PlatformSpecificWindowBuilderAttributes
) -> Result<UnownedWindow, CreationError>
[src]

pub fn set_urgent(&self, is_urgent: bool)[src]

pub fn get_fullscreen(&self) -> Option<MonitorId>[src]

pub fn set_fullscreen(&self, monitor: Option<MonitorId>)[src]

pub fn get_current_monitor(&self) -> MonitorId[src]

pub fn get_available_monitors(&self) -> Vec<MonitorId>[src]

pub fn get_primary_monitor(&self) -> MonitorId[src]

pub fn set_maximized(&self, maximized: bool)[src]

pub fn set_title(&self, title: &str)[src]

pub fn set_decorations(&self, decorations: bool)[src]

pub fn set_always_on_top(&self, always_on_top: bool)[src]

pub fn set_window_icon(&self, icon: Option<Icon>)[src]

pub fn show(&self)[src]

pub fn hide(&self)[src]

pub fn get_position(&self) -> Option<LogicalPosition>[src]

pub fn get_inner_position(&self) -> Option<LogicalPosition>[src]

pub fn set_position(&self, logical_position: LogicalPosition)[src]

pub fn get_inner_size(&self) -> Option<LogicalSize>[src]

pub fn get_outer_size(&self) -> Option<LogicalSize>[src]

pub fn set_inner_size(&self, logical_size: LogicalSize)[src]

pub fn set_min_dimensions(&self, logical_dimensions: Option<LogicalSize>)[src]

pub fn set_max_dimensions(&self, logical_dimensions: Option<LogicalSize>)[src]

pub fn set_resizable(&self, resizable: bool)[src]

pub fn get_xlib_display(&self) -> *mut c_void[src]

pub fn get_xlib_screen_id(&self) -> i32[src]

pub fn get_xlib_xconnection(&self) -> Arc<XConnection>[src]

pub fn get_xlib_window(&self) -> u64[src]

pub fn get_xcb_connection(&self) -> *mut c_void[src]

pub fn set_cursor(&self, cursor: MouseCursor)[src]

pub fn grab_cursor(&self, grab: bool) -> Result<(), String>[src]

pub fn hide_cursor(&self, hide: bool)[src]

pub fn get_hidpi_factor(&self) -> f64[src]

pub fn set_cursor_position_physical(&self, x: i32, y: i32) -> Result<(), String>[src]

pub fn set_cursor_position(
    &self,
    logical_position: LogicalPosition
) -> Result<(), String>
[src]

pub fn set_ime_spot(&self, logical_spot: LogicalPosition)[src]

pub fn id(&self) -> WindowId[src]

Trait Implementations

impl Sync for UnownedWindow[src]

impl Send for UnownedWindow[src]

Auto Trait Implementations

impl Unpin for UnownedWindow

impl !UnwindSafe for UnownedWindow

impl !RefUnwindSafe for UnownedWindow

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

impl<T> SetParameter for T[src]

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 
[src]

Sets value as a parameter of self.

impl<T> Supports<T> for T[src]

impl<T> Erased for T[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]