Struct witas::window::InnerWindowBuilder
source · pub struct InnerWindowBuilder<Pos = (), Sz = (), Tx = ()> { /* private fields */ }
Expand description
The object that build a inner window.
Implementations§
source§impl<Pos, Sz, Tx> InnerWindowBuilder<Pos, Sz, Tx>
impl<Pos, Sz, Tx> InnerWindowBuilder<Pos, Sz, Tx>
pub fn position<T>(self, position: T) -> InnerWindowBuilder<T, Sz, Tx>where T: ToPhysical<i32, Output<i32> = PhysicalPosition<i32>>,
pub fn size<T>(self, size: T) -> InnerWindowBuilder<Pos, T, Tx>where T: ToPhysical<u32, Output<u32> = PhysicalSize<u32>>,
pub fn set_receiver( self, rx: &EventReceiver ) -> InnerWindowBuilder<Pos, Sz, UnboundedSender<(Event, Window)>>
pub fn raw_input_receiver( self, raw_input_rx: &RawInputEventRecevier ) -> InnerWindowBuilder<Pos, Sz, Tx>
pub fn visible(self, visibility: bool) -> Self
pub fn ime(self, enable: bool) -> Self
pub fn visible_ime_candidate_window(self, visible: bool) -> Self
pub fn accept_drop_files(self, accept: bool) -> Self
pub fn enable_raw_input(self, enable: bool) -> Self
source§impl<Pos, Sz> InnerWindowBuilder<Pos, Sz, UnboundedSender<(Event, Window)>>where
Pos: ToPhysical<i32, Output<i32> = PhysicalPosition<i32>>,
Sz: ToPhysical<u32, Output<u32> = PhysicalSize<u32>>,
impl<Pos, Sz> InnerWindowBuilder<Pos, Sz, UnboundedSender<(Event, Window)>>where Pos: ToPhysical<i32, Output<i32> = PhysicalPosition<i32>>, Sz: ToPhysical<u32, Output<u32> = PhysicalSize<u32>>,
pub fn build(self) -> BuildInnerWindow<Pos, Sz> ⓘ
Trait Implementations§
source§impl<Pos, Sz> IntoFuture for InnerWindowBuilder<Pos, Sz, UnboundedSender<(Event, Window)>>where
Pos: ToPhysical<i32, Output<i32> = PhysicalPosition<i32>> + Send + Unpin + 'static,
Sz: ToPhysical<u32, Output<u32> = PhysicalSize<u32>> + Send + Unpin + 'static,
impl<Pos, Sz> IntoFuture for InnerWindowBuilder<Pos, Sz, UnboundedSender<(Event, Window)>>where Pos: ToPhysical<i32, Output<i32> = PhysicalPosition<i32>> + Send + Unpin + 'static, Sz: ToPhysical<u32, Output<u32> = PhysicalSize<u32>> + Send + Unpin + 'static,
§type IntoFuture = BuildInnerWindow<Pos, Sz>
type IntoFuture = BuildInnerWindow<Pos, Sz>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<Pos = (), Sz = (), Tx = ()> !RefUnwindSafe for InnerWindowBuilder<Pos, Sz, Tx>
impl<Pos, Sz, Tx> Send for InnerWindowBuilder<Pos, Sz, Tx>where Pos: Send, Sz: Send, Tx: Send,
impl<Pos, Sz, Tx> Sync for InnerWindowBuilder<Pos, Sz, Tx>where Pos: Sync, Sz: Sync, Tx: Sync,
impl<Pos, Sz, Tx> Unpin for InnerWindowBuilder<Pos, Sz, Tx>where Pos: Unpin, Sz: Unpin, Tx: Unpin,
impl<Pos = (), Sz = (), Tx = ()> !UnwindSafe for InnerWindowBuilder<Pos, Sz, Tx>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more