Docs.rs
oxygengine-core-0.21.0
oxygengine-core 0.21.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
PsichiX
Dependencies
bincode ^1
normal
hecs ^0.6
normal
lazy_static ^1.4
normal
oxygengine-ignite-derive ^0.21
normal
oxygengine-ignite-types ^0.21
normal
pest ^2.1
normal
pest_derive ^2.1
normal
rayon ^1.3
normal
serde ^1
normal
serde_yaml ^0.8
normal
typid ^1
normal
Versions
2%
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Bundle
Implementations on Foreign Types
()
(A,)
(B, A)
(C, B, A)
(D, C, B, A)
(E, D, C, B, A)
(F, E, D, C, B, A)
(G, F, E, D, C, B, A)
(H, G, F, E, D, C, B, A)
(I, H, G, F, E, D, C, B, A)
(J, I, H, G, F, E, D, C, B, A)
(K, J, I, H, G, F, E, D, C, B, A)
(L, K, J, I, H, G, F, E, D, C, B, A)
(M, L, K, J, I, H, G, F, E, D, C, B, A)
(N, M, L, K, J, I, H, G, F, E, D, C, B, A)
(O, N, M, L, K, J, I, H, G, F, E, D, C, B, A)
Implementors
In oxygengine_core
?
Trait
oxygengine_core
::
Bundle
source
·
[
−
]
pub unsafe trait Bundle:
DynamicBundle
{ }
Expand description
A statically typed collection of components
Implementations on Foreign Types
source
impl
Bundle
for
()
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
()
,
MissingComponent
>
source
impl<C, B, A>
Bundle
for
(
C, B, A
)
where
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
C, B, A
)
,
MissingComponent
>
source
impl<E, D, C, B, A>
Bundle
for
(
E, D, C, B, A
)
where
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
E, D, C, B, A
)
,
MissingComponent
>
source
impl<N, M, L, K, J, I, H, G, F, E, D, C, B, A>
Bundle
for
(
N, M, L, K, J, I, H, G, F, E, D, C, B, A
)
where
N:
Component
,
M:
Component
,
L:
Component
,
K:
Component
,
J:
Component
,
I:
Component
,
H:
Component
,
G:
Component
,
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
N, M, L, K, J, I, H, G, F, E, D, C, B, A
)
,
MissingComponent
>
source
impl<O, N, M, L, K, J, I, H, G, F, E, D, C, B, A>
Bundle
for
(
O, N, M, L, K, J, I, H, G, F, E, D, C, B, A
)
where
O:
Component
,
N:
Component
,
M:
Component
,
L:
Component
,
K:
Component
,
J:
Component
,
I:
Component
,
H:
Component
,
G:
Component
,
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
O, N, M, L, K, J, I, H, G, F, E, D, C, B, A
)
,
MissingComponent
>
source
impl<F, E, D, C, B, A>
Bundle
for
(
F, E, D, C, B, A
)
where
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
F, E, D, C, B, A
)
,
MissingComponent
>
source
impl<M, L, K, J, I, H, G, F, E, D, C, B, A>
Bundle
for
(
M, L, K, J, I, H, G, F, E, D, C, B, A
)
where
M:
Component
,
L:
Component
,
K:
Component
,
J:
Component
,
I:
Component
,
H:
Component
,
G:
Component
,
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
M, L, K, J, I, H, G, F, E, D, C, B, A
)
,
MissingComponent
>
source
impl<K, J, I, H, G, F, E, D, C, B, A>
Bundle
for
(
K, J, I, H, G, F, E, D, C, B, A
)
where
K:
Component
,
J:
Component
,
I:
Component
,
H:
Component
,
G:
Component
,
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
K, J, I, H, G, F, E, D, C, B, A
)
,
MissingComponent
>
source
impl<D, C, B, A>
Bundle
for
(
D, C, B, A
)
where
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
D, C, B, A
)
,
MissingComponent
>
source
impl<A>
Bundle
for
(
A
,)
where
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
A
,)
,
MissingComponent
>
source
impl<I, H, G, F, E, D, C, B, A>
Bundle
for
(
I, H, G, F, E, D, C, B, A
)
where
I:
Component
,
H:
Component
,
G:
Component
,
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
I, H, G, F, E, D, C, B, A
)
,
MissingComponent
>
source
impl<H, G, F, E, D, C, B, A>
Bundle
for
(
H, G, F, E, D, C, B, A
)
where
H:
Component
,
G:
Component
,
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
H, G, F, E, D, C, B, A
)
,
MissingComponent
>
source
impl<L, K, J, I, H, G, F, E, D, C, B, A>
Bundle
for
(
L, K, J, I, H, G, F, E, D, C, B, A
)
where
L:
Component
,
K:
Component
,
J:
Component
,
I:
Component
,
H:
Component
,
G:
Component
,
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
L, K, J, I, H, G, F, E, D, C, B, A
)
,
MissingComponent
>
source
impl<G, F, E, D, C, B, A>
Bundle
for
(
G, F, E, D, C, B, A
)
where
G:
Component
,
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
G, F, E, D, C, B, A
)
,
MissingComponent
>
source
impl<B, A>
Bundle
for
(
B, A
)
where
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
B, A
)
,
MissingComponent
>
source
impl<J, I, H, G, F, E, D, C, B, A>
Bundle
for
(
J, I, H, G, F, E, D, C, B, A
)
where
J:
Component
,
I:
Component
,
H:
Component
,
G:
Component
,
F:
Component
,
E:
Component
,
D:
Component
,
C:
Component
,
B:
Component
,
A:
Component
,
source
pub fn
with_static_ids
<T>(f: impl
FnOnce
(
&[
TypeId
]
) -> T) -> T
source
pub fn
static_type_info
() ->
Vec
<
TypeInfo
,
Global
>
source
pub unsafe fn
get
(
f: impl
FnMut
(
TypeInfo
) ->
Option
<
NonNull
<
u8
>>
) ->
Result
<
(
J, I, H, G, F, E, D, C, B, A
)
,
MissingComponent
>
Implementors