[−][src]Struct amethyst_rendy::rendy::wsi::winit::os::unix::x11::Window
Methods
impl Window[src]
pub fn new(
event_loop: &EventsLoop,
attribs: WindowAttributes,
pl_attribs: PlatformSpecificWindowBuilderAttributes
) -> Result<Window, CreationError>[src]
event_loop: &EventsLoop,
attribs: WindowAttributes,
pl_attribs: PlatformSpecificWindowBuilderAttributes
) -> Result<Window, CreationError>
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]
&self,
logical_position: LogicalPosition
) -> Result<(), String>
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.
fn deref(&self) -> &UnownedWindow[src]
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>, [src]
M: TransformMatrix<Swp, Dwp, T>,
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]
T: Parameter<Self>,
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]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>[src]
fn is_in_subset(&self) -> bool[src]
unsafe fn to_subset_unchecked(&self) -> SS[src]
fn from_subset(element: &SS) -> SP[src]
impl<T> Resource for T where
T: Any + Send + Sync, [src]
T: Any + Send + Sync,
impl<T> Any for T where
T: Any, [src]
T: Any,
fn get_type_id(&self) -> TypeId[src]
impl<T> Event for T where
T: Send + Sync + 'static, [src]
T: Send + Sync + 'static,