raui_core::props

Struct Props

source
pub struct Props(/* private fields */);

Implementations§

source§

impl Props

source

pub fn new<T>(data: T) -> Self
where T: 'static + PropsData,

source

pub fn is_empty(&self) -> bool

source

pub fn has<T>(&self) -> bool
where T: 'static + PropsData,

source

pub fn remove<T>(&mut self)
where T: 'static + PropsData,

source

pub fn consume<T>(&mut self) -> Result<Box<dyn PropsData>, PropsError>
where T: 'static + PropsData,

source

pub fn consume_unwrap_cloned<T>(&mut self) -> Result<T, PropsError>
where T: 'static + PropsData + Clone,

source

pub fn read<T>(&self) -> Result<&T, PropsError>
where T: 'static + PropsData,

source

pub fn map_or_default<T, R, F>(&self, f: F) -> R
where T: 'static + PropsData, R: Default, F: FnMut(&T) -> R,

source

pub fn map_or_else<T, R, F, E>(&self, f: F, e: E) -> R
where T: 'static + PropsData, F: FnMut(&T) -> R, E: FnMut() -> R,

source

pub fn read_cloned<T>(&self) -> Result<T, PropsError>
where T: 'static + PropsData + Clone,

source

pub fn read_cloned_or_default<T>(&self) -> T
where T: 'static + PropsData + Clone + Default,

source

pub fn read_cloned_or_else<T, F>(&self, f: F) -> T
where T: 'static + PropsData + Clone + Default, F: FnMut() -> T,

source

pub fn write<T>(&mut self, data: T)
where T: 'static + PropsData,

source

pub fn mutate<T, F>(&mut self, f: F)
where T: 'static + PropsData, F: FnMut(&T) -> T,

source

pub fn mutate_cloned<T, F>(&mut self, f: F)
where T: 'static + PropsData + Clone, F: FnMut(&mut T),

source

pub fn mutate_or_write<T, F, W>(&mut self, f: F, w: W)
where T: 'static + PropsData, F: FnMut(&T) -> T, W: FnMut() -> T,

source

pub fn with<T>(self, data: T) -> Self
where T: 'static + PropsData,

source

pub fn without<T>(self) -> Self
where T: 'static + PropsData,

source

pub fn merge(self, other: Self) -> Self

source

pub fn merge_from(&mut self, other: Self)

Trait Implementations§

source§

impl Clone for Props

source§

fn clone(&self) -> Props

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Props

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Props

source§

fn default() -> Props

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

impl<A: PropsData + Clone + Default> From<&Props> for (A,)

source§

fn from(props: &Props) -> (A,)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default> From<&Props> for (A, B)

source§

fn from(props: &Props) -> (A, B)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default> From<&Props> for (A, B, C)

source§

fn from(props: &Props) -> (A, B, C)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default> From<&Props> for (A, B, C, D)

source§

fn from(props: &Props) -> (A, B, C, D)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E)

source§

fn from(props: &Props) -> (A, B, C, D, E)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F)

source§

fn from(props: &Props) -> (A, B, C, D, E, F)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I, J)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I, J, K)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I, J, K, L)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I, J, K, L, M)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default, Q: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default, Q: PropsData + Clone + Default, R: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)

source§

fn from(props: &Props) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default, Q: PropsData + Clone + Default, R: PropsData + Clone + Default, S: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)

source§

fn from( props: &Props, ) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default, Q: PropsData + Clone + Default, R: PropsData + Clone + Default, S: PropsData + Clone + Default, T: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)

source§

fn from( props: &Props, ) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default, Q: PropsData + Clone + Default, R: PropsData + Clone + Default, S: PropsData + Clone + Default, T: PropsData + Clone + Default, U: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)

source§

fn from( props: &Props, ) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default, Q: PropsData + Clone + Default, R: PropsData + Clone + Default, S: PropsData + Clone + Default, T: PropsData + Clone + Default, U: PropsData + Clone + Default, V: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)

source§

fn from( props: &Props, ) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default, Q: PropsData + Clone + Default, R: PropsData + Clone + Default, S: PropsData + Clone + Default, T: PropsData + Clone + Default, U: PropsData + Clone + Default, V: PropsData + Clone + Default, X: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X)

source§

fn from( props: &Props, ) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default, Q: PropsData + Clone + Default, R: PropsData + Clone + Default, S: PropsData + Clone + Default, T: PropsData + Clone + Default, U: PropsData + Clone + Default, V: PropsData + Clone + Default, X: PropsData + Clone + Default, Y: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y)

source§

fn from( props: &Props, ) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y)

Converts to this type from the input type.
source§

impl<A: PropsData + Clone + Default, B: PropsData + Clone + Default, C: PropsData + Clone + Default, D: PropsData + Clone + Default, E: PropsData + Clone + Default, F: PropsData + Clone + Default, G: PropsData + Clone + Default, H: PropsData + Clone + Default, I: PropsData + Clone + Default, J: PropsData + Clone + Default, K: PropsData + Clone + Default, L: PropsData + Clone + Default, M: PropsData + Clone + Default, N: PropsData + Clone + Default, O: PropsData + Clone + Default, P: PropsData + Clone + Default, Q: PropsData + Clone + Default, R: PropsData + Clone + Default, S: PropsData + Clone + Default, T: PropsData + Clone + Default, U: PropsData + Clone + Default, V: PropsData + Clone + Default, X: PropsData + Clone + Default, Y: PropsData + Clone + Default, Z: PropsData + Clone + Default> From<&Props> for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z)

source§

fn from( props: &Props, ) -> (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z)

Converts to this type from the input type.
source§

impl From<&Props> for Props

source§

fn from(data: &Self) -> Self

Converts to this type from the input type.
source§

impl<A: PropsData> From<(A,)> for Props

source§

fn from((A): (A,)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData> From<(A, B)> for Props

source§

fn from((A, B): (A, B)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData> From<(A, B, C)> for Props

source§

fn from((A, B, C): (A, B, C)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData> From<(A, B, C, D)> for Props

source§

fn from((A, B, C, D): (A, B, C, D)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData> From<(A, B, C, D, E)> for Props

source§

fn from((A, B, C, D, E): (A, B, C, D, E)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData> From<(A, B, C, D, E, F)> for Props

source§

fn from((A, B, C, D, E, F): (A, B, C, D, E, F)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData> From<(A, B, C, D, E, F, G)> for Props

source§

fn from((A, B, C, D, E, F, G): (A, B, C, D, E, F, G)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData> From<(A, B, C, D, E, F, G, H)> for Props

source§

fn from((A, B, C, D, E, F, G, H): (A, B, C, D, E, F, G, H)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData> From<(A, B, C, D, E, F, G, H, I)> for Props

source§

fn from((A, B, C, D, E, F, G, H, I): (A, B, C, D, E, F, G, H, I)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData> From<(A, B, C, D, E, F, G, H, I, J)> for Props

source§

fn from((A, B, C, D, E, F, G, H, I, J): (A, B, C, D, E, F, G, H, I, J)) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K): (A, B, C, D, E, F, G, H, I, J, K), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L): (A, B, C, D, E, F, G, H, I, J, K, L), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M): (A, B, C, D, E, F, G, H, I, J, K, L, M), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N): (A, B, C, D, E, F, G, H, I, J, K, L, M, N), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData, Q: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData, Q: PropsData, R: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData, Q: PropsData, R: PropsData, S: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData, Q: PropsData, R: PropsData, S: PropsData, T: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData, Q: PropsData, R: PropsData, S: PropsData, T: PropsData, U: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData, Q: PropsData, R: PropsData, S: PropsData, T: PropsData, U: PropsData, V: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData, Q: PropsData, R: PropsData, S: PropsData, T: PropsData, U: PropsData, V: PropsData, X: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData, Q: PropsData, R: PropsData, S: PropsData, T: PropsData, U: PropsData, V: PropsData, X: PropsData, Y: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y), ) -> Props

Converts to this type from the input type.
source§

impl<A: PropsData, B: PropsData, C: PropsData, D: PropsData, E: PropsData, F: PropsData, G: PropsData, H: PropsData, I: PropsData, J: PropsData, K: PropsData, L: PropsData, M: PropsData, N: PropsData, O: PropsData, P: PropsData, Q: PropsData, R: PropsData, S: PropsData, T: PropsData, U: PropsData, V: PropsData, X: PropsData, Y: PropsData, Z: PropsData> From<(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z)> for Props

source§

fn from( (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z): (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, X, Y, Z), ) -> Props

Converts to this type from the input type.
source§

impl<T> From<T> for Props
where T: 'static + PropsData,

source§

fn from(data: T) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for Props

§

impl !RefUnwindSafe for Props

§

impl Send for Props

§

impl Sync for Props

§

impl Unpin for Props

§

impl !UnwindSafe for Props

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> 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> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> Finalize for T

source§

unsafe fn finalize_raw(data: *mut ())

Safety Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

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> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.