[−][src]Struct kas_wgpu::draw::DrawWindow
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]
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> where
CW: UnwindSafe,
CW: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Src where
Scheme: ApproxScheme,
Scheme: ApproxScheme,
type Err = NoError
The error type produced by a failed conversion.
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Src where
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
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, Dst> ConvAsUtil<Dst> for T
fn approx(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, DefaultApprox>,
Self: ApproxInto<Dst, DefaultApprox>,
fn approx_by<Scheme>(self) -> Result<Dst, Self::Err> where
Scheme: ApproxScheme,
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Self: ApproxInto<Dst, Scheme>,
impl<T> ConvUtil for T
fn approx_as<Dst>(self) -> Result<Dst, Self::Err> where
Self: ApproxInto<Dst, DefaultApprox>,
Self: ApproxInto<Dst, DefaultApprox>,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err> where
Scheme: ApproxScheme,
Self: ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Self: ApproxInto<Dst, Scheme>,
fn into_as<Dst>(self) -> Dst where
Self: Into<Dst>,
Self: Into<Dst>,
fn try_as<Dst>(self) -> Result<Dst, Self::Err> where
Self: TryInto<Dst>,
Self: TryInto<Dst>,
fn value_as<Dst>(self) -> Result<Dst, Self::Err> where
Self: ValueInto<Dst>,
Self: ValueInto<Dst>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Src> TryFrom<Src> for Src
type Err = NoError
The error type produced by a failed conversion.
fn try_from(src: Src) -> Result<Src, <Src as TryFrom<Src>>::Err>
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<Src, Dst> TryInto<Dst> for Src where
Dst: TryFrom<Src>,
Dst: TryFrom<Src>,
type Err = <Dst as TryFrom<Src>>::Err
The error type produced by a failed conversion.
fn try_into(self) -> Result<Dst, <Src as TryInto<Dst>>::Err>
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<Src> ValueFrom<Src> for Src
type Err = NoError
The error type produced by a failed conversion.
fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
impl<Src, Dst> ValueInto<Dst> for Src where
Dst: ValueFrom<Src>,
Dst: ValueFrom<Src>,
type Err = <Dst as ValueFrom<Src>>::Err
The error type produced by a failed conversion.