Expand description
⚡ This crate is the core of Zaplib. It contains all the fundamental rendering primitives.
Internally it depends on zaplib_shader_compiler
and zaplib_vector
,
for shader compilation and vector graphics (mostly for fonts) respectively.
If you need to use higher-level widgets, use zaplib_components
.
Re-exports§
pub use universal_file::*;
Modules§
- byte_
extract - Read the desired data type in as few instructions as possible. This is technically
unsafe if you’re reading past the end of a buffer, but we’re not going to worry
about that for performance. This saves a relatively expensive boundary
check when using safe functions like
from_le_bytes
withtry_into().unwrap()
. - debug_
log - universal_
file - universal_
http_ stream - universal_
rand - Version of
rand
that also works in WebAssembly. - universal_
thread - Version of
std::thread
that also works in WebAssembly.
Macros§
- code_
fragment - Tag a piece of code with filename+line+col. The line+col are done in a hacky way, exploiting the fact that rustfmt usually puts the multiline string start on a newline, with one greater indentation level. This doesn’t always work but it’s close enough!
- location_
hash - Generates a
crate::hash::LocationHash
based on the current file/line/column. - log
- Logging helper that works both on native and WebAssembly targets.
- main_
app - Define the entry point of your application.
- register_
call_ rust - Define state-less entry point
Structs§
- Anim
- An actual animation that can be played.
- Animator
- Manages animations. Assumes that you always pass it with
Anim
objects with the same types ofTrack
s. For example, if track 0 represents represents a color Vec4, and track 1 represents a Float value, then make sure to use that consistently throughout the lifetime of an Animator. - AppOpen
Files Event - See
Event::AppOpenFiles
. - Component
Id - Identifier that represents a particular “component” on the screen, even if it gets moved around or disappears temporarily.
- CubeIns
- Draw a cube; similar to
crate::QuadIns
. Is currently not used much, so mostly for demonstration purposes. - Cx
- The main “context” object which contains pretty much everything we need within the framework.
- CxAfter
Draw - Some font-related stuff gets drawn at the end of each draw cycle.
- CxDebug
Flags - Flags that can be set that enable debug functionality. See
Cx::debug_flags_mut
for an example. - CxFonts
Data - A context object containing everything font releated. This is used in different places to render text and also
- CxView
- An actual instantiation of a
View
. It’s a node in the draw tree with children, which can be eitherDrawCall
s or otherView
s. - Debugger
- Draw
Call - This represents an actual call to the GPU, or it can represent a
sub-
View
, in caseDrawCall::sub_view_id
is set. Note that all of this behaves completely differently ifDrawCall::sub_view_id
is set; all regular drawing fields are ignored in that case! - Draw
Glyphs Props - File
Drag Update Event - See
Event::FileDragUpdate
. - Font
- A pointer to a [
CxFont
] (indexed inCxFontsData::fonts
usingFont::font_id
), - Geometry
- Generated geometry data used for instanced rendering, represented as triangles.
- GpuGeometry
- A pointer to a [
CxGpuGeometry
] (indexed inCx::gpu_geometries
usingGpuGeometry::gpu_geometry_id
), - Image
Ins - For drawing a
Texture
. - Instance
Range Area - Pointer to a part of a
DrawCall
, e.g. fromCx::add_instances
. This pointer points to a range of instances, where the first index is indicated byInstanceRangeArea::instance_offset
, and the size of the range byInstanceRangeArea::instance_count
. - KeyEvent
- Data for various kinds of key-based events (
Event::KeyDown
,Event::KeyUp
, etc). - KeyFocus
Event - See
Event::KeyFocus
andEvent::KeyFocusLost
. - KeyModifiers
- Modifiers that were held when a key event was fired.
- Layout
Size - Determines how a [
CxLayoutBox
] should walk. Can be applied to a new [CxLayoutBox
] through [Layout::layout_size
], or directly to move an existing [CxLayoutBox
] by usingCx::add_box
. - Location
Hash - Represents a particular place in the code. Useful e.g. for shaders; see the
documentation of
crate::Shader
. - Mat4
- 4x4 matrix; very common in graphics programming.
- Padding
- Inner padding dimensions that should be applied on top of a
Rect
or other object that defines dimensions. - Pass
- A rendering context e.g. for doing 3d rendering.
- Pointer
Down Event - See
Event::PointerDown
. - Pointer
Hover Event - See
Event::PointerHover
. - Pointer
Move Event - See
Event::PointerMove
. - Pointer
Scroll Event - See
Event::PointerScroll
. - Pointer
UpEvent - See
Event::PointerUp
. - QuadIns
QuadIns
is the basis for most draw structs.This renders a rectangle. There are some default shaders available atQuadIns::SHADER
.- Quat
- Quaternion; used for rotations.
- Rect
- Represents an (axis-aligned) rectangle. Axis-aligned means that you can’t rotate it.
- Shader
- Contains all information necessary to build a shader. Define a new shader.
- Signal
- For firing and capturing custom events. Can even be fired from different
threads using
Cx::post_signal
. - Signal
Event - See
Event::Signal
. TODO(JP): Is this a bit too complicated of an API? What about if we just sendpub signal: u64
, or even aBox
? Then you can use it for anything. - Text
Input Event - See
Event::TextInput
. - TextIns
- Text
InsProps - Some props for how to render the text.
- Text
Style - Style for how to render text. TODO(hernan): Should we include color and font scaling as part of the text style?
- Texture
- A persistent reference to a GPU texture.
- Texture
Handle - A pointer to a [
CxTexture
] (indexed inCx::textures
usingTextureHandle::texture_id
), - Timer
- Created using
Cx::start_timer
. - Timer
Event - See
Event::Timer
. - Transform
- A common type of transformation, that includes a rotation (
Transform::orientation
) and translation (Transform::position
). - Universal
Instant - Version of
std::time::Instant
that also works in WebAssembly. - User
File - A file that was supplied by a user, as opposed to by the application itself (like font resources and such).
- Vec2
- Vector (as in linear algebra, not as in
Vec
!) with two elements. - Vec3
- Vector (as in linear algebra, not as in
Vec
!) with three elements. - Vec4
- Vector (as in linear algebra, not as in
Vec
!) with four elements. - View
- A group of
DrawCall
s. - View
Area - Pointer to a particular view in the draw tree, using a
ViewArea::view_id
. Note that aView::view_id
only gets set when it gets drawn. - View
Uniforms - Uniforms that can be set on the
View
that wraps aDrawCall
. - WebRust
Call Event - Fires when a web worker calls
callRust
to trigger a function in Rust. - WebSocket
Message Event - See
Event::WebSocketMessage
. - Window
- A pointer to a [
CxWindow
] (indexed inCx::windows
usingWindow::window_id
), - Window
Close Requested Event - See
Event::WindowCloseRequested
. - Window
Closed Event - See
Event::WindowClosed
. - Window
Drag Query Event - See
Event::WindowDragQuery
. To respond, setresponse
field to a variant ofWindowDragQueryResponse
. - Window
Geom - Information on the geometry and capabilities of a particular native window.
- Window
Geom Change Event - See
Event::WindowGeomChange
. - Window
Resize Loop Event - See
Event::WindowResizeLoop
.
Enums§
- Anim
Value - Represents an actual value in an
Animator
, which can be of a few different types, but should remain consistent in its type (for a givenTrack
) for the lifetime of anAnimator
. - Area
- An
Area
can be thought of as a “pointer” into the draw tree. You typically get one as the result of a draw command, likeCx::add_instances
, orView::end_view
. - Clear
Color - The color to either initialize a
Texture
with (when rendering it for the very first time), or to clear it with on every paint. - Clear
Depth - The depth to either initialize a
Texture
with (when rendering it for the very first time), or to clear it with on every paint. - Code
Fragment - Represents a location in a file, and the code string itself. Generate easily
using the
zaplib::code_fragment!()
macro. - CxBox
Type - CxDebug
Draw Tree - What kind of debug information should be printed about the draw tree.
- Direction
- The direction in which the [
CxLayoutBox
] should walk. It will typically walk in a straight line in this direction. E.g. when walking toDirection::Right
, it will only walk horizontally, not vertically, until it hits the [CxLayoutBox::width
], at which point it will wrap around usingLineWrap
, based on the maximum height of widgets that have been drawn so far, which is registered in [CxLayoutBox::biggest
]. - Ease
- Describes how output values of a
Track
get mapped for fractions in between keyframes. See these pages for more explanations: - Event
- Global event passed into an application’s
handle
function. See contained structs for more details. - Height
- Different ways in which a
LayoutSize
can get a height. - Hover
State - The type of
PointerHoverEvent
. - KeyCode
- Lowest common denominator keymap between desktop and web.
- Line
Wrap - Indicates when to wrap the current line to a new line. See also
Direction
. - Menu
- Represents a single menu, as well as all menus (recursively).
- Mouse
Button - The type of input that was used to trigger a pointer event.
- Mouse
Cursor - The type of mouse cursor to show. Enjoy the ASCII art here.
- Pass
Matrix Mode - Standard types of projection matrices.
- Platform
Type - Contains information about the platform (operating system) that we’re running on.
- Pointer
Input Type - The type of input that was used to trigger a pointer event.
- System
Event - See
Event::SystemEvent
. - Track
- Represents a single value that changes during the course of an animation.
Should remain consistent in its type and what it represents between the
different animations that you pass into a single
Animator
. - Ty
- Variable type in shader code.
- Width
- Different ways in which a
LayoutSize
can get a width. - Window
Drag Query Response - Response to operating system inquiry if a
Window
can be dragged. - Wrapping
- Determines when to emit a set of glyphs, which has roughly the effect of wrapping at these boundaries.
- ZapParam
Constants§
- COLOR_
ALICEBLUE - COLOR_
AMBE R50 - COLOR_
AMBE R100 - COLOR_
AMBE R200 - COLOR_
AMBE R300 - COLOR_
AMBE R400 - COLOR_
AMBE R500 - COLOR_
AMBE R600 - COLOR_
AMBE R700 - COLOR_
AMBE R800 - COLOR_
AMBE R900 - COLOR_
AMBER A100 - COLOR_
AMBER A200 - COLOR_
AMBER A400 - COLOR_
AMBER A700 - COLOR_
ANTIQUEWHITE - COLOR_
AQUA - COLOR_
AQUAMARINE - COLOR_
AZURE - COLOR_
BEIGE - COLOR_
BISQUE - COLOR_
BLACK - COLOR_
BLANCHEDALMOND - COLOR_
BLUE - COLOR_
BLUE50 - COLOR_
BLUE100 - COLOR_
BLUE200 - COLOR_
BLUE300 - COLOR_
BLUE400 - COLOR_
BLUE500 - COLOR_
BLUE600 - COLOR_
BLUE700 - COLOR_
BLUE800 - COLOR_
BLUE900 - COLOR_
BLUE A100 - COLOR_
BLUE A200 - COLOR_
BLUE A400 - COLOR_
BLUE A700 - COLOR_
BLUEGRE Y50 - COLOR_
BLUEGRE Y100 - COLOR_
BLUEGRE Y200 - COLOR_
BLUEGRE Y300 - COLOR_
BLUEGRE Y400 - COLOR_
BLUEGRE Y500 - COLOR_
BLUEGRE Y600 - COLOR_
BLUEGRE Y700 - COLOR_
BLUEGRE Y800 - COLOR_
BLUEGRE Y900 - COLOR_
BLUEVIOLET - COLOR_
BROWN - COLOR_
BROW N50 - COLOR_
BROW N100 - COLOR_
BROW N200 - COLOR_
BROW N300 - COLOR_
BROW N400 - COLOR_
BROW N500 - COLOR_
BROW N600 - COLOR_
BROW N700 - COLOR_
BROW N800 - COLOR_
BROW N900 - COLOR_
BURLYWOOD - COLOR_
CADETBLUE - COLOR_
CHARTREUSE - COLOR_
CHOCOLATE - COLOR_
CORAL - COLOR_
CORNFLOWER - COLOR_
CORNSILK - COLOR_
CRIMSON - COLOR_
CYAN - COLOR_
CYAN50 - COLOR_
CYAN100 - COLOR_
CYAN200 - COLOR_
CYAN300 - COLOR_
CYAN400 - COLOR_
CYAN500 - COLOR_
CYAN600 - COLOR_
CYAN700 - COLOR_
CYAN800 - COLOR_
CYAN900 - COLOR_
CYAN A100 - COLOR_
CYAN A200 - COLOR_
CYAN A400 - COLOR_
CYAN A700 - COLOR_
DARKBLUE - COLOR_
DARKCYAN - COLOR_
DARKGOLDENROD - COLOR_
DARKGRAY - COLOR_
DARKGREEN - COLOR_
DARKKHAKI - COLOR_
DARKMAGENTA - COLOR_
DARKOLIVEGREEN - COLOR_
DARKORANGE - COLOR_
DARKORCHID - COLOR_
DARKRED - COLOR_
DARKSALMON - COLOR_
DARKSEAGREEN - COLOR_
DARKSLATEBLUE - COLOR_
DARKSLATEGRAY - COLOR_
DARKTURQUOISE - COLOR_
DARKVIOLET - COLOR_
DEEPORANG E50 - COLOR_
DEEPORANG E100 - COLOR_
DEEPORANG E200 - COLOR_
DEEPORANG E300 - COLOR_
DEEPORANG E400 - COLOR_
DEEPORANG E500 - COLOR_
DEEPORANG E600 - COLOR_
DEEPORANG E700 - COLOR_
DEEPORANG E800 - COLOR_
DEEPORANG E900 - COLOR_
DEEPORANGE A100 - COLOR_
DEEPORANGE A200 - COLOR_
DEEPORANGE A400 - COLOR_
DEEPORANGE A700 - COLOR_
DEEPPINK - COLOR_
DEEPPURPL E50 - COLOR_
DEEPPURPL E100 - COLOR_
DEEPPURPL E200 - COLOR_
DEEPPURPL E300 - COLOR_
DEEPPURPL E400 - COLOR_
DEEPPURPL E500 - COLOR_
DEEPPURPL E600 - COLOR_
DEEPPURPL E700 - COLOR_
DEEPPURPL E800 - COLOR_
DEEPPURPL E900 - COLOR_
DEEPPURPLE A100 - COLOR_
DEEPPURPLE A200 - COLOR_
DEEPPURPLE A400 - COLOR_
DEEPPURPLE A700 - COLOR_
DEEPSKYBLUE - COLOR_
DIMGRAY - COLOR_
DODGERBLUE - COLOR_
FIREBRICK - COLOR_
FLORALWHITE - COLOR_
FORESTGREEN - COLOR_
FUCHSIA - COLOR_
GAINSBORO - COLOR_
GHOSTWHITE - COLOR_
GOLD - COLOR_
GOLDENROD - COLOR_
GRAY - COLOR_
GREEN - COLOR_
GREE N50 - COLOR_
GREE N100 - COLOR_
GREE N200 - COLOR_
GREE N300 - COLOR_
GREE N400 - COLOR_
GREE N500 - COLOR_
GREE N600 - COLOR_
GREE N700 - COLOR_
GREE N800 - COLOR_
GREE N900 - COLOR_
GREEN A100 - COLOR_
GREEN A200 - COLOR_
GREEN A400 - COLOR_
GREEN A700 - COLOR_
GREENYELLOW - COLOR_
GREY50 - COLOR_
GREY100 - COLOR_
GREY200 - COLOR_
GREY300 - COLOR_
GREY400 - COLOR_
GREY500 - COLOR_
GREY600 - COLOR_
GREY700 - COLOR_
GREY800 - COLOR_
GREY850 - COLOR_
GREY900 - COLOR_
HONEYDEW - COLOR_
HOTPINK - COLOR_
INDIANRED - COLOR_
INDIGO - COLOR_
INDIG O50 - COLOR_
INDIG O100 - COLOR_
INDIG O200 - COLOR_
INDIG O300 - COLOR_
INDIG O400 - COLOR_
INDIG O500 - COLOR_
INDIG O600 - COLOR_
INDIG O700 - COLOR_
INDIG O800 - COLOR_
INDIG O900 - COLOR_
INDIGO A100 - COLOR_
INDIGO A200 - COLOR_
INDIGO A400 - COLOR_
INDIGO A700 - COLOR_
IVORY - COLOR_
KHAKI - COLOR_
LAVENDER - COLOR_
LAVENDERBLUSH - COLOR_
LAWNGREEN - COLOR_
LEMONCHIFFON - COLOR_
LIGHTBLUE - COLOR_
LIGHTBLU E50 - COLOR_
LIGHTBLU E100 - COLOR_
LIGHTBLU E200 - COLOR_
LIGHTBLU E300 - COLOR_
LIGHTBLU E400 - COLOR_
LIGHTBLU E500 - COLOR_
LIGHTBLU E600 - COLOR_
LIGHTBLU E700 - COLOR_
LIGHTBLU E800 - COLOR_
LIGHTBLU E900 - COLOR_
LIGHTBLUE A100 - COLOR_
LIGHTBLUE A200 - COLOR_
LIGHTBLUE A400 - COLOR_
LIGHTBLUE A700 - COLOR_
LIGHTCORAL - COLOR_
LIGHTCYAN - COLOR_
LIGHTGOLDENROD - COLOR_
LIGHTGRAY - COLOR_
LIGHTGREEN - COLOR_
LIGHTGREE N50 - COLOR_
LIGHTGREE N100 - COLOR_
LIGHTGREE N200 - COLOR_
LIGHTGREE N300 - COLOR_
LIGHTGREE N400 - COLOR_
LIGHTGREE N500 - COLOR_
LIGHTGREE N600 - COLOR_
LIGHTGREE N700 - COLOR_
LIGHTGREE N800 - COLOR_
LIGHTGREE N900 - COLOR_
LIGHTGREEN A100 - COLOR_
LIGHTGREEN A200 - COLOR_
LIGHTGREEN A400 - COLOR_
LIGHTGREEN A700 - COLOR_
LIGHTPINK - COLOR_
LIGHTSALMON - COLOR_
LIGHTSEAGREEN - COLOR_
LIGHTSKYBLUE - COLOR_
LIGHTSLATEGRAY - COLOR_
LIGHTSTEELBLUE - COLOR_
LIGHTYELLOW - COLOR_
LIME - COLOR_
LIME50 - COLOR_
LIME100 - COLOR_
LIME200 - COLOR_
LIME300 - COLOR_
LIME400 - COLOR_
LIME500 - COLOR_
LIME600 - COLOR_
LIME700 - COLOR_
LIME800 - COLOR_
LIME900 - COLOR_
LIME A100 - COLOR_
LIME A200 - COLOR_
LIME A400 - COLOR_
LIME A700 - COLOR_
LIMEGREEN - COLOR_
LINEN - COLOR_
MAGENTA - COLOR_
MAROON - COLOR_
MEDIUMAQUAMARINE - COLOR_
MEDIUMBLUE - COLOR_
MEDIUMORCHID - COLOR_
MEDIUMPURPLE - COLOR_
MEDIUMSEAGREEN - COLOR_
MEDIUMSLATEBLUE - COLOR_
MEDIUMSPRINGGREEN - COLOR_
MEDIUMTURQUOISE - COLOR_
MEDIUMVIOLETRED - COLOR_
MIDNIGHTBLUE - COLOR_
MINTCREAM - COLOR_
MISTYROSE - COLOR_
MOCCASIN - COLOR_
NAVAJOWHITE - COLOR_
NAVYBLUE - COLOR_
OLDLACE - COLOR_
OLIVE - COLOR_
OLIVEDRAB - COLOR_
ORANGE - COLOR_
ORANG E50 - COLOR_
ORANG E100 - COLOR_
ORANG E200 - COLOR_
ORANG E300 - COLOR_
ORANG E400 - COLOR_
ORANG E500 - COLOR_
ORANG E600 - COLOR_
ORANG E700 - COLOR_
ORANG E800 - COLOR_
ORANG E900 - COLOR_
ORANGE A100 - COLOR_
ORANGE A200 - COLOR_
ORANGE A400 - COLOR_
ORANGE A700 - COLOR_
ORANGERED - COLOR_
ORCHID - COLOR_
PALEGOLDENROD - COLOR_
PALEGREEN - COLOR_
PALETURQUOISE - COLOR_
PALEVIOLETRED - COLOR_
PAPAYAWHIP - COLOR_
PEACHPUFF - COLOR_
PERU - COLOR_
PINK - COLOR_
PINK50 - COLOR_
PINK100 - COLOR_
PINK200 - COLOR_
PINK300 - COLOR_
PINK400 - COLOR_
PINK500 - COLOR_
PINK600 - COLOR_
PINK700 - COLOR_
PINK800 - COLOR_
PINK900 - COLOR_
PINK A100 - COLOR_
PINK A200 - COLOR_
PINK A400 - COLOR_
PINK A700 - COLOR_
PLUM - COLOR_
POWDERBLUE - COLOR_
PURPLE - COLOR_
PURPL E50 - COLOR_
PURPL E100 - COLOR_
PURPL E200 - COLOR_
PURPL E300 - COLOR_
PURPL E400 - COLOR_
PURPL E500 - COLOR_
PURPL E600 - COLOR_
PURPL E700 - COLOR_
PURPL E800 - COLOR_
PURPL E900 - COLOR_
PURPLE A100 - COLOR_
PURPLE A200 - COLOR_
PURPLE A400 - COLOR_
PURPLE A700 - COLOR_
REBECCAPURPLE - COLOR_
RED - COLOR_
RED50 - COLOR_
RED100 - COLOR_
RED200 - COLOR_
RED300 - COLOR_
RED400 - COLOR_
RED500 - COLOR_
RED600 - COLOR_
RED700 - COLOR_
RED800 - COLOR_
RED900 - COLOR_
REDA100 - COLOR_
REDA200 - COLOR_
REDA400 - COLOR_
REDA700 - COLOR_
ROSYBROWN - COLOR_
ROYALBLUE - COLOR_
SADDLEBROWN - COLOR_
SALMON - COLOR_
SANDYBROWN - COLOR_
SEAGREEN - COLOR_
SEASHELL - COLOR_
SIENNA - COLOR_
SILVER - COLOR_
SKYBLUE - COLOR_
SLATEBLUE - COLOR_
SLATEGRAY - COLOR_
SNOW - COLOR_
SPRINGGREEN - COLOR_
STEELBLUE - COLOR_
TAN - COLOR_
TEAL - COLOR_
TEAL50 - COLOR_
TEAL100 - COLOR_
TEAL200 - COLOR_
TEAL300 - COLOR_
TEAL400 - COLOR_
TEAL500 - COLOR_
TEAL600 - COLOR_
TEAL700 - COLOR_
TEAL800 - COLOR_
TEAL900 - COLOR_
TEAL A100 - COLOR_
TEAL A200 - COLOR_
TEAL A400 - COLOR_
TEAL A700 - COLOR_
THISTLE - COLOR_
TOMATO - COLOR_
TURQUOISE - COLOR_
VIOLET - COLOR_
WEBGRAY - COLOR_
WEBGREEN - COLOR_
WEBMAROON - COLOR_
WEBPURPLE - COLOR_
WHEAT - COLOR_
WHITE - COLOR_
WHITESMOKE - COLOR_
YELLOW - COLOR_
YELLO W50 - COLOR_
YELLO W100 - COLOR_
YELLO W200 - COLOR_
YELLO W300 - COLOR_
YELLO W400 - COLOR_
YELLO W500 - COLOR_
YELLO W600 - COLOR_
YELLO W700 - COLOR_
YELLO W800 - COLOR_
YELLO W900 - COLOR_
YELLOW A100 - COLOR_
YELLOW A200 - COLOR_
YELLOW A400 - COLOR_
YELLOW A700 - COLOR_
YELLOWGREEN - DRAWCUBE_
SHADER_ PRELUDE - Common
Shader
code for usingCubeIns
. - TEXT_
ANCHOR_ BOTTOM - TEXT_
ANCHOR_ CENTER_ H - TEXT_
ANCHOR_ CENTER_ V - TEXT_
ANCHOR_ LEFT - TEXT_
ANCHOR_ RIGHT - TEXT_
ANCHOR_ TOP - TEXT_
STYLE_ MONO - A monospace
TextStyle
. - TEXT_
STYLE_ NORMAL - The default
TextStyle
.
Statics§
Traits§
- CxDesktop
VsWasm Common - A bunch of traits that are common between the native platforms and the WebAssembly platform. This trait makes sure that there is consistency in the interface, and provides one place for documentation.
- CxPlatform
Common - A bunch of traits that are common between the different target platforms. This trait makes sure that there is consistency in the interface, and provides one place for documentation.
- Instant
- Version of
std::time::Instant
that also works in WebAssembly. - Into
Param - Read
Seek - A trait for the combination of reading and seeking.
Functions§
- get_
font_ atlas_ page_ id - Get the page id for a particular font_id/dpi_factor/font_size combination.
- vec2
- Convenience function for making a
Vec2
. - vec3
- Convenience function for making a
Vec3
. - vec4
- Convenience function for making a
Vec4
.
Type Aliases§
- Command
Id - An alias over LocationHash so we have a semantic type
but can change the underlying implementation whenever.
See
Event::Command
. - Read
Seek BufReader - Convenient alias for a
BufReader
that contains a dynamic dispatch pointer to aReadSeek
. - Status
Id - Status field to send with a
Signal
.