pub enum StructSpread {
None,
From(Box<Expression>),
Autofill {
span: Span,
},
}Variants§
Implementations§
Source§impl StructSpread
impl StructSpread
pub fn is_none(&self) -> bool
pub fn span(&self) -> Option<Span>
pub fn as_expression(&self) -> Option<&Expression>
pub fn as_expression_mut(&mut self) -> Option<&mut Expression>
Trait Implementations§
Source§impl Clone for StructSpread
impl Clone for StructSpread
Source§impl Debug for StructSpread
impl Debug for StructSpread
Source§impl PartialEq for StructSpread
impl PartialEq for StructSpread
impl StructuralPartialEq for StructSpread
Auto Trait Implementations§
impl Forget for StructSpread
impl Freeze for StructSpread
impl Move for StructSpread
impl RefUnwindSafe for StructSpread
impl Send for StructSpreadwhere
BoxRaw<Expression>: Send,
impl Sync for StructSpreadwhere
BoxRaw<Expression>: Sync,
impl Unpin for StructSpread
impl UnsafeUnpin for StructSpread
impl UnwindSafe for StructSpreadwhere
BoxRaw<Expression>: UnwindSafe,
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