Struct solstice_2d::ShaderSource[][src]

pub struct ShaderSource<'a> {
    pub vertex: &'a str,
    pub fragment: &'a str,


vertex: &'a strfragment: &'a str

Trait Implementations

impl<'a> From<&'a String> for ShaderSource<'a>[src]

impl<'a> From<&'a str> for ShaderSource<'a>[src]

impl<'a> From<(&'a str, &'a str)> for ShaderSource<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ShaderSource<'a>

impl<'a> Send for ShaderSource<'a>

impl<'a> Sync for ShaderSource<'a>

impl<'a> Unpin for ShaderSource<'a>

impl<'a> UnwindSafe for ShaderSource<'a>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,