pub struct PropAssign {
pub name: Ident,
pub value: Expr,
pub span: Span,
}Expand description
A prop assignment: label: "Click me"
Fields§
§name: Ident§value: Expr§span: SpanTrait Implementations§
Source§impl Clone for PropAssign
impl Clone for PropAssign
Source§fn clone(&self) -> PropAssign
fn clone(&self) -> PropAssign
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PropAssign
impl Debug for PropAssign
Source§impl<'de> Deserialize<'de> for PropAssign
impl<'de> Deserialize<'de> for PropAssign
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PropAssign
impl PartialEq for PropAssign
Source§impl Serialize for PropAssign
impl Serialize for PropAssign
impl StructuralPartialEq for PropAssign
Auto Trait Implementations§
impl Freeze for PropAssign
impl RefUnwindSafe for PropAssign
impl Send for PropAssign
impl Sync for PropAssign
impl Unpin for PropAssign
impl UnwindSafe for PropAssign
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more