Struct kas_wgpu::draw::DrawWindow [−][src]
Per-window pipeline data
Trait Implementations
impl<CW: CustomWindow + 'static> Draw for DrawWindow<CW>[src]
fn as_any_mut(&mut self) -> &mut dyn Any[src]
fn add_clip_region(&mut self, rect: Rect, depth: f32) -> Pass[src]
fn rect(&mut self, pass: Pass, rect: Quad, col: Colour)[src]
fn frame(&mut self, pass: Pass, outer: Quad, inner: Quad, col: Colour)[src]
impl<CW: CustomWindow> DrawCustom<CW> for DrawWindow<CW>[src]
impl<CW: CustomWindow + 'static> DrawRounded for DrawWindow<CW>[src]
fn rounded_line(
&mut self,
pass: Pass,
p1: Vec2,
p2: Vec2,
radius: f32,
col: Colour
)[src]
&mut self,
pass: Pass,
p1: Vec2,
p2: Vec2,
radius: f32,
col: Colour
)
fn circle(&mut self, pass: Pass, rect: Quad, inner_radius: f32, col: Colour)[src]
fn rounded_frame(
&mut self,
pass: Pass,
outer: Quad,
inner: Quad,
inner_radius: f32,
col: Colour
)[src]
&mut self,
pass: Pass,
outer: Quad,
inner: Quad,
inner_radius: f32,
col: Colour
)
impl<CW: CustomWindow + 'static> DrawShaded for DrawWindow<CW>[src]
fn shaded_square(
&mut self,
pass: Pass,
rect: Quad,
norm: (f32, f32),
col: Colour
)[src]
&mut self,
pass: Pass,
rect: Quad,
norm: (f32, f32),
col: Colour
)
fn shaded_circle(
&mut self,
pass: Pass,
rect: Quad,
norm: (f32, f32),
col: Colour
)[src]
&mut self,
pass: Pass,
rect: Quad,
norm: (f32, f32),
col: Colour
)
fn shaded_square_frame(
&mut self,
pass: Pass,
outer: Quad,
inner: Quad,
norm: (f32, f32),
col: Colour
)[src]
&mut self,
pass: Pass,
outer: Quad,
inner: Quad,
norm: (f32, f32),
col: Colour
)
fn shaded_round_frame(
&mut self,
pass: Pass,
outer: Quad,
inner: Quad,
norm: (f32, f32),
col: Colour
)[src]
&mut self,
pass: Pass,
outer: Quad,
inner: Quad,
norm: (f32, f32),
col: Colour
)
impl<CW: CustomWindow + 'static> DrawText for DrawWindow<CW>[src]
fn prepare_fonts(&mut self)[src]
fn text(
&mut self,
pass: Pass,
pos: Vec2,
bounds: Vec2,
offset: Vec2,
text: &TextDisplay,
col: Colour
)[src]
&mut self,
pass: Pass,
pos: Vec2,
bounds: Vec2,
offset: Vec2,
text: &TextDisplay,
col: Colour
)
fn text_col_effects(
&mut self,
pass: Pass,
pos: Vec2,
bounds: Vec2,
offset: Vec2,
text: &TextDisplay,
col: Colour,
effects: &[Effect<()>]
)[src]
&mut self,
pass: Pass,
pos: Vec2,
bounds: Vec2,
offset: Vec2,
text: &TextDisplay,
col: Colour,
effects: &[Effect<()>]
)
fn text_effects(
&mut self,
pass: Pass,
pos: Vec2,
bounds: Vec2,
offset: Vec2,
text: &TextDisplay,
effects: &[Effect<Colour>]
)[src]
&mut self,
pass: Pass,
pos: Vec2,
bounds: Vec2,
offset: Vec2,
text: &TextDisplay,
effects: &[Effect<Colour>]
)
Auto Trait Implementations
impl<CW> !RefUnwindSafe for DrawWindow<CW>
impl<CW> Send for DrawWindow<CW> where
CW: Send,
CW: Send,
impl<CW> Sync for DrawWindow<CW> where
CW: Sync,
CW: Sync,
impl<CW> Unpin for DrawWindow<CW> where
CW: Unpin,
CW: Unpin,
impl<CW> !UnwindSafe for DrawWindow<CW>
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<S, T> Cast<T> for S where
T: Conv<S>,
T: Conv<S>,
impl<S, T> CastFloat<T> for S where
T: ConvFloat<S>,
T: ConvFloat<S>,
pub fn cast_trunc(self) -> T
pub fn cast_nearest(self) -> T
pub fn cast_floor(self) -> T
pub fn cast_ceil(self) -> T
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>
impl<T> Conv<T> for T
impl<T> Downcast<T> for T
impl<'a, T, X> Filter<&'a T> for X where
T: Clone,
X: Filter<T>, [src]
T: Clone,
X: Filter<T>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Upcast<T> for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,