Trait bit_manager::data::BitStore
[−]
[src]
pub trait BitStore: Sized { fn read_from<R: BitRead>(reader: &mut R) -> Result<Self>; fn write_to<W: BitWrite>(&self, writer: &mut W) -> Result<()>; }
A trait for storing a value directly
Derive
BitStore
can be derived using the bit manager derive crate.
Storage Primitives
bool
,u8
(directly implemented)u16
,u32
,u64
i8
,i16
,i32
,i64
f32
,f64
String
(throughStringConverter
)Option<T>
whereT
can be storedResult<T, F>
whereT
andF
can be stored[T; 0]
through[T; 32]
whereT
can be stored()
(the unit type) and all tuples with 2 through 26 storable values
Required Methods
fn read_from<R: BitRead>(reader: &mut R) -> Result<Self>
Reads a value from the given reader.
fn write_to<W: BitWrite>(&self, writer: &mut W) -> Result<()>
Writes this value to the given writer.
Implementations on Foreign Types
impl BitStore for bool
[src]
impl BitStore for u8
[src]
impl BitStore for i8
[src]
impl BitStore for u16
[src]
impl BitStore for i16
[src]
impl BitStore for u32
[src]
impl BitStore for i32
[src]
impl BitStore for u64
[src]
impl BitStore for i64
[src]
impl BitStore for f32
[src]
impl BitStore for f64
[src]
impl BitStore for String
[src]
impl<T: BitStore> BitStore for Option<T>
[src]
impl<T: BitStore, F: BitStore> BitStore for Result<T, F>
[src]
impl<T> BitStore for [T; 0]
[src]
impl<T: BitStore> BitStore for [T; 1]
[src]
impl<T: BitStore> BitStore for [T; 2]
[src]
impl<T: BitStore> BitStore for [T; 3]
[src]
impl<T: BitStore> BitStore for [T; 4]
[src]
impl<T: BitStore> BitStore for [T; 5]
[src]
impl<T: BitStore> BitStore for [T; 6]
[src]
impl<T: BitStore> BitStore for [T; 7]
[src]
impl<T: BitStore> BitStore for [T; 8]
[src]
impl<T: BitStore> BitStore for [T; 9]
[src]
impl<T: BitStore> BitStore for [T; 10]
[src]
impl<T: BitStore> BitStore for [T; 11]
[src]
impl<T: BitStore> BitStore for [T; 12]
[src]
impl<T: BitStore> BitStore for [T; 13]
[src]
impl<T: BitStore> BitStore for [T; 14]
[src]
impl<T: BitStore> BitStore for [T; 15]
[src]
impl<T: BitStore> BitStore for [T; 16]
[src]
impl<T: BitStore> BitStore for [T; 17]
[src]
impl<T: BitStore> BitStore for [T; 18]
[src]
impl<T: BitStore> BitStore for [T; 19]
[src]
impl<T: BitStore> BitStore for [T; 20]
[src]
impl<T: BitStore> BitStore for [T; 21]
[src]
impl<T: BitStore> BitStore for [T; 22]
[src]
impl<T: BitStore> BitStore for [T; 23]
[src]
impl<T: BitStore> BitStore for [T; 24]
[src]
impl<T: BitStore> BitStore for [T; 25]
[src]
impl<T: BitStore> BitStore for [T; 26]
[src]
impl<T: BitStore> BitStore for [T; 27]
[src]
impl<T: BitStore> BitStore for [T; 28]
[src]
impl<T: BitStore> BitStore for [T; 29]
[src]
impl<T: BitStore> BitStore for [T; 30]
[src]
impl<T: BitStore> BitStore for [T; 31]
[src]
impl<T: BitStore> BitStore for [T; 32]
[src]
impl BitStore for ()
[src]
impl<A, B> BitStore for (A, B) where
A: BitStore,
B: BitStore,
[src]
A: BitStore,
B: BitStore,
impl<A, B, C> BitStore for (A, B, C) where
A: BitStore,
B: BitStore,
C: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
impl<A, B, C, D> BitStore for (A, B, C, D) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
impl<A, B, C, D, E> BitStore for (A, B, C, D, E) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
impl<A, B, C, D, E, F> BitStore for (A, B, C, D, E, F) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
impl<A, B, C, D, E, F, G> BitStore for (A, B, C, D, E, F, G) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
impl<A, B, C, D, E, F, G, H> BitStore for (A, B, C, D, E, F, G, H) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
impl<A, B, C, D, E, F, G, H, I> BitStore for (A, B, C, D, E, F, G, H, I) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
impl<A, B, C, D, E, F, G, H, I, J> BitStore for (A, B, C, D, E, F, G, H, I, J) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K> BitStore for (A, B, C, D, E, F, G, H, I, J, K) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
W: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
W: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
W: BitStore,
X: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
W: BitStore,
X: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
W: BitStore,
X: BitStore,
Y: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
W: BitStore,
X: BitStore,
Y: BitStore,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> BitStore for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) where
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
W: BitStore,
X: BitStore,
Y: BitStore,
Z: BitStore,
[src]
A: BitStore,
B: BitStore,
C: BitStore,
D: BitStore,
E: BitStore,
F: BitStore,
G: BitStore,
H: BitStore,
I: BitStore,
J: BitStore,
K: BitStore,
L: BitStore,
M: BitStore,
N: BitStore,
O: BitStore,
P: BitStore,
Q: BitStore,
R: BitStore,
S: BitStore,
T: BitStore,
U: BitStore,
V: BitStore,
W: BitStore,
X: BitStore,
Y: BitStore,
Z: BitStore,
Implementors
impl BitStore for StringConverter
impl BitStore for BitMask
impl BitStore for DefaultConverter