[−][src]Struct flutterbug::DisplayReference
A reference to the X11 display. Unlike the Display object, this is clonable. However, it will also decay if its parent Display object is dropped.
Trait Implementations
impl Clone for DisplayReference
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DisplayReference
[src]
impl GenericDisplay for DisplayReference
[src]
fn reference(&self) -> DisplayReference
[src]
fn raw(&self) -> Result<NonNull<Display>, FlutterbugError>
[src]
fn default_screen(&self) -> Result<Screen, FlutterbugError>
[src]
fn visual(&self, screen: Screen) -> Result<*mut Visual, FlutterbugError>
[src]
fn default_visual(&self) -> Result<*mut Visual, FlutterbugError>
[src]
fn black_pixel(&self, screen: Screen) -> Result<Color, FlutterbugError>
[src]
fn default_black_pixel(&self) -> Result<Color, FlutterbugError>
[src]
fn white_pixel(&self, screen: Screen) -> Result<Color, FlutterbugError>
[src]
fn default_white_pixel(&self) -> Result<Color, FlutterbugError>
[src]
fn colormap(&self, screen: Screen) -> Result<ColorMap, FlutterbugError>
[src]
fn default_colormap(&self) -> Result<ColorMap, FlutterbugError>
[src]
fn gc(&self, screen: Screen) -> Result<GraphicsContext, FlutterbugError>
[src]
fn default_gc(&self) -> Result<GraphicsContext, FlutterbugError>
[src]
fn create_simple_window(
&self,
parent: Option<&Window>,
origin: Point2D<i32>,
size: Size2D<u32>,
border_width: u32,
border_color: Color,
background_color: Color
) -> Result<Window, FlutterbugError>
[src]
&self,
parent: Option<&Window>,
origin: Point2D<i32>,
size: Size2D<u32>,
border_width: u32,
border_color: Color,
background_color: Color
) -> Result<Window, FlutterbugError>
fn create_context(&self) -> Result<Context, FlutterbugError>
[src]
fn internal_atom(
&self,
name: &str,
create_if_exists: bool
) -> Result<Atom, FlutterbugError>
[src]
&self,
name: &str,
create_if_exists: bool
) -> Result<Atom, FlutterbugError>
fn input_method(&self) -> Result<InputMethod, FlutterbugError>
[src]
fn create_image(
&self,
bounds: Size2D<u32>,
depth: u32,
data: Vec<c_char>
) -> Result<Image, FlutterbugError>
[src]
&self,
bounds: Size2D<u32>,
depth: u32,
data: Vec<c_char>
) -> Result<Image, FlutterbugError>
fn sync(&self, s: bool) -> Result<(), FlutterbugError>
[src]
fn depth(&self, screen: Screen) -> Result<i32, FlutterbugError>
[src]
fn default_depth(&self) -> Result<i32, FlutterbugError>
[src]
impl PartialEq<DisplayReference> for DisplayReference
[src]
Auto Trait Implementations
impl RefUnwindSafe for DisplayReference
impl !Send for DisplayReference
impl !Sync for DisplayReference
impl Unpin for DisplayReference
impl UnwindSafe for DisplayReference
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,