Docs.rs
kas-widgets-0.13.0
kas-widgets 0.13.0
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
dhardy
Dependencies
image ^0.24.1
normal
kas-core ^0.13.0
normal
kas-macros ^0.13.0
normal
log ^0.4
normal
smallvec ^1.6.1
normal
thiserror ^1.0.23
normal
unicode-segmentation ^1.7
normal
Versions
98.81%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
StringLabel
Trait Implementations
Layout
In kas_widgets
?
Type Definition
kas_widgets
::
StringLabel
source
·
[
−
]
pub type StringLabel =
Label
<
String
>;
Expand description
Label with
String
as backing type
Trait Implementations
§
source
§
impl
Layout
for
StringLabel
source
§
fn
draw
(&mut self, draw:
DrawMgr
<'_>)
Draw a widget and its children
Read more
source
§
fn
size_rules
(&mut self, size_mgr:
SizeMgr
<'_>, axis:
AxisInfo
) ->
SizeRules
Get size rules for the given axis
Read more
source
§
fn
set_rect
(&mut self, mgr: &mut
ConfigMgr
<'_>, rect:
Rect
)
Set size and position
Read more
source
§
fn
find_id
(&mut self, coord:
Coord
) ->
Option
<
WidgetId
>
Translate a coordinate to a
WidgetId
Read more