Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_reflect/src/impls/alloc/collections/vec_deque.rs
6601 views
1
use bevy_reflect_derive::impl_type_path;
2
3
use crate::impls::macros::impl_reflect_for_veclike;
4
#[cfg(feature = "functions")]
5
use crate::{
6
from_reflect::FromReflect, type_info::MaybeTyped, type_path::TypePath,
7
type_registry::GetTypeRegistration,
8
};
9
10
impl_reflect_for_veclike!(
11
::alloc::collections::VecDeque<T>,
12
::alloc::collections::VecDeque::insert,
13
::alloc::collections::VecDeque::remove,
14
::alloc::collections::VecDeque::push_back,
15
::alloc::collections::VecDeque::pop_back,
16
::alloc::collections::VecDeque::<T>
17
);
18
impl_type_path!(::alloc::collections::VecDeque<T>);
19
#[cfg(feature = "functions")]
20
crate::func::macros::impl_function_traits!(::alloc::collections::VecDeque<T>; <T: FromReflect + MaybeTyped + TypePath + GetTypeRegistration>);
21
22