Struct components::Window [−][src]
pub struct Window { pub inner: Stage, // some fields omitted }
Fields
inner: Stage
Implementations
impl Window
[src]
pub fn new() -> Window
[src]
pub fn with_stage(stage: &Stage) -> Window
[src]
new_with_clutter_stage: @stage: A #Stage
Creates a new #Stage, using @stage as the backing #Stage. This function is meant for use primarily for embedding a #Stage into a foreign stage when using a toolkit integration library.
Returns: A #Stage
pub fn get_for_stage(stage: &Stage) -> Option<Window>
[src]
get_for_stage: @stage: A #Stage
Gets the #Stage parent of the #Stage, if it exists.
Returns: (transfer none): A #Stage, or %None
pub fn test_check(&self) -> String
[src]
Trait Implementations
impl AsRef<Window> for Window
[src]
impl Clone for Window
[src]
impl Debug for Window
[src]
impl Default for Window
[src]
impl Display for Window
[src]
impl Is<Window> for Window
[src]
impl Object for Window
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Window
impl !Send for Window
impl !Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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>,