[][src]Crate batbox

Re-exports

pub use bincode;
pub use dyn_clone::clone_box;
pub use dyn_clone::DynClone;
pub use err_derive::*;
pub use futures;
pub use futures::prelude::*;
pub use log;
pub use log::debug;
pub use log::error;
pub use log::info;
pub use log::log_enabled;
pub use log::trace;
pub use log::warn;
pub use maplit::*;
pub use once_cell;
pub use pin_utils::pin_mut;
pub use serde;
pub use serde::Deserialize;
pub use serde::Deserialize;
pub use serde::Serialize;
pub use serde::Serialize;
pub use serde_json;
pub use std::cell::Cell;
pub use std::cell::Ref;
pub use std::cell::RefCell;
pub use std::cell::RefMut;
pub use std::cmp::max;
pub use std::cmp::min;
pub use std::collections::HashMap;
pub use std::collections::HashSet;
pub use std::convert::TryFrom;
pub use std::convert::TryInto;
pub use std::fmt;
pub use std::fmt::Debug;
pub use std::fmt::Debug;
pub use std::fmt::Display;
pub use std::io::BufRead;
pub use std::io::Read;
pub use std::io::Write;
pub use std::marker::PhantomData;
pub use std::mem;
pub use std::ops::Add;
pub use std::ops::AddAssign;
pub use std::ops::Deref;
pub use std::ops::DerefMut;
pub use std::ops::Div;
pub use std::ops::DivAssign;
pub use std::ops::Index;
pub use std::ops::IndexMut;
pub use std::ops::Mul;
pub use std::ops::MulAssign;
pub use std::ops::Neg;
pub use std::ops::Rem;
pub use std::ops::RemAssign;
pub use std::ops::Sub;
pub use std::ops::SubAssign;
pub use std::ops::Bound;
pub use std::ops::Range;
pub use std::ops::RangeBounds;
pub use std::ops::RangeInclusive;
pub use std::os::raw::c_char;
pub use std::os::raw::c_double;
pub use std::os::raw::c_float;
pub use std::os::raw::c_int;
pub use std::os::raw::c_long;
pub use std::os::raw::c_short;
pub use std::os::raw::c_ulong;
pub use std::os::raw::c_ushort;
pub use std::os::raw::c_void;
pub use std::pin::Pin;
pub use std::rc::Rc;
pub use std::sync::Arc;
pub use std::sync::Mutex;
pub use structopt;
pub use structopt::StructOpt;
pub use structopt::StructOpt;
pub use threadpool::ThreadPool;
pub use trans;
pub use trans::*;
pub use trans_schema;
pub use trans_schema::*;
pub use rand::distributions::Distribution;
pub use rand::seq::SliceRandom as _;
pub use rand;
pub use rand::rngs::StdRng;
pub use rand::Rng;
pub use rand::SeedableRng;

Modules

distributions
logger
microtask
program_args

Structs

AABB

Axis aligned bounding box.

AutoSave
Color
Mat4

4x4 matrix

Quat
RealImpl
Timer

Timer can be used to track time since some instant.

Vec2

2-d vector.

Vec3

3-d vector.

Vec4

4-d vector.

Traits

ApproxEq
ColorComponent
Diff
Float
Num
Real
UNum
_

Functions

add_translation
add_translations
clamp
clamp_abs
default
global_rng
global_threadpool
index_range
min_max
partial_max
partial_min
partial_min_max
r32
r64
save_file
select_file
set_locale
translate
vec2

Construct a 2-d vector with given components.

vec3

Construct a 3-d vector with given components.

vec4

Construct a 4-d vector with given components.

Type Definitions

R32
R64

Derive Macros

Diff