[−][src]Struct nannou::geom::vertex::Srgba
A vertex that is colored with the given sRGBA
color.
Methods
impl<V> Srgba<V>
[src]
pub fn vertex(&self) -> &V
[src]
A reference to the inner vertex.
pub fn rgba(&self) -> &Srgba
[src]
A reference to the inner rgba.
Trait Implementations
impl<S, V> IntoVertex<S> for Srgba<V> where
S: BaseFloat,
V: Vertex<Scalar = S>,
(V, Color): IntoVertex<S>,
[src]
S: BaseFloat,
V: Vertex<Scalar = S>,
(V, Color): IntoVertex<S>,
fn into_vertex(self) -> Vertex<S>
[src]
impl<V> Vertex for Srgba<V> where
V: Vertex,
[src]
V: Vertex,
impl<V> Vertex2d for Srgba<V> where
V: Vertex2d,
[src]
V: Vertex2d,
impl<V> Vertex3d for Srgba<V> where
V: Vertex3d,
[src]
V: Vertex3d,
impl<V> Into<(V, Alpha<Rgb<Srgb, f32>, f32>)> for Srgba<V>
[src]
impl<V: Clone> Clone for Srgba<V>
[src]
impl<V: PartialEq> PartialEq<Srgba<V>> for Srgba<V>
[src]
impl<V> From<(V, Alpha<Rgb<Srgb, f32>, f32>)> for Srgba<V>
[src]
impl<V: Copy> Copy for Srgba<V>
[src]
impl<V> Deref for Srgba<V>
[src]
impl<V> DerefMut for Srgba<V>
[src]
impl<V: Debug> Debug for Srgba<V>
[src]
Auto Trait Implementations
impl<V> Send for Srgba<V> where
V: Send,
V: Send,
impl<V> Unpin for Srgba<V> where
V: Unpin,
V: Unpin,
impl<V> Sync for Srgba<V> where
V: Sync,
V: Sync,
impl<V> UnwindSafe for Srgba<V> where
V: UnwindSafe,
V: UnwindSafe,
impl<V> RefUnwindSafe for Srgba<V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Style for T where
T: Any + Debug + PartialEq<T>,
[src]
T: Any + Debug + PartialEq<T>,
impl<T> Content for T
[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
fn is_size_suitable(size: usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> DeviceOwned for T where
T: Deref,
<T as Deref>::Target: DeviceOwned,
[src]
T: Deref,
<T as Deref>::Target: DeviceOwned,
impl<T> SafeBorrow<T> for T
[src]
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,