[][src]Struct rendy::wsi::winit::os::unix::x11::Window

pub struct Window(_);

Methods

impl Window[src]

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

Methods from Deref<Target = UnownedWindow>

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 Deref for Window[src]

type Target = UnownedWindow

The resulting type after dereferencing.

impl Drop for Window[src]

Auto Trait Implementations

impl Unpin for Window

impl Sync for Window

impl Send for Window

impl !UnwindSafe for Window

impl !RefUnwindSafe for Window

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<T> Supports<T> for T[src]

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> Erased for T[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