Struct TimeBundle

Source
pub struct TimeBundle<'deps, T> {
    pub deps: Vec<&'deps str>,
    /* private fields */
}

Fields§

§deps: Vec<&'deps str>

Implementations§

Source§

impl<'deps, T> TimeBundle<'deps, T>

Source

pub fn new(deps: &[&'deps str]) -> Self

Trait Implementations§

Source§

impl<'deps, 'world, 'a, 'b, T> Bundle<'world, 'a, 'b> for TimeBundle<'deps, T>
where T: 'static + Sync + Send + Float + FromPrimitive,

Source§

type Error = ()

Source§

fn bundle( self, bundler: Bundler<'world, 'a, 'b>, ) -> Result<Bundler<'world, 'a, 'b>, Self::Error>

Source§

impl<'deps, T> Default for TimeBundle<'deps, T>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'deps, T> Freeze for TimeBundle<'deps, T>

§

impl<'deps, T> RefUnwindSafe for TimeBundle<'deps, T>
where T: RefUnwindSafe,

§

impl<'deps, T> Send for TimeBundle<'deps, T>
where T: Send,

§

impl<'deps, T> Sync for TimeBundle<'deps, T>
where T: Sync,

§

impl<'deps, T> Unpin for TimeBundle<'deps, T>
where T: Unpin,

§

impl<'deps, T> UnwindSafe for TimeBundle<'deps, T>
where T: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Any for T
where T: Any,

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> TryDefault for T
where T: Default,

Source§

fn try_default() -> Result<T, String>

Tries to create the default.
Source§

fn unwrap_default() -> Self

Calls try_default and panics on an error case.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Event for T
where T: Send + Sync + 'static,

Source§

impl<T> Resource for T
where T: Any + Send + Sync,