Enum bbecs::components::ComponentData [−][src]
These components are used to store data into the world. Each of the components contains a vector of the appropriate data. Generally consumers of this library will not need to call Components directly. However the methods attached to components will be used to extract the data.
Variants
Trait Implementations
impl CastComponents<Color> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<Color>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<Color>>>
[src]
impl CastComponents<Mesh> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<Mesh>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<Mesh>>>
[src]
impl CastComponents<Point> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<Point>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<Point>>>
[src]
impl CastComponents<String> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<String>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<String>>>
[src]
impl CastComponents<Text> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<Text>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<Text>>>
[src]
impl CastComponents<VirtualKeyCode> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<KeyCode>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<KeyCode>>>
[src]
impl CastComponents<bool> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<bool>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<bool>>>
[src]
impl CastComponents<f32> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<f32>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<f32>>>
[src]
impl CastComponents<u32> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<u32>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<u32>>>
[src]
impl CastComponents<usize> for ComponentData
[src]
fn cast_mut(&mut self) -> Result<&mut Rc<RefCell<usize>>>
[src]
fn cast(&self) -> Result<&Rc<RefCell<usize>>>
[src]
impl Clone for ComponentData
[src]
fn clone(&self) -> ComponentData
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ComponentData
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ComponentData
impl !Send for ComponentData
impl !Sync for ComponentData
impl Unpin for ComponentData
impl !UnwindSafe for ComponentData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SetParameter for T
pub fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub unsafe fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,