pub struct PropertyNode {
pub visibilities: Vec<Visibility>,
pub modifier: Option<Modifier>,
pub hooks: Vec<Box<Node>>,
pub items: Vec<Box<Node>>,
}Fields§
§visibilities: Vec<Visibility>§modifier: Option<Modifier>§hooks: Vec<Box<Node>>§items: Vec<Box<Node>>Implementations§
Source§impl PropertyNode
impl PropertyNode
pub fn make( visibilities: Vec<Visibility>, modifier: Option<Modifier>, hooks: Vec<Box<Node>>, items: Vec<Box<Node>>, ) -> Box<Node>
pub fn loc( visibilities: Vec<Visibility>, modifier: Option<Modifier>, hooks: Vec<Box<Node>>, items: Vec<Box<Node>>, loc: Option<RangeLocation>, ) -> Box<Node>
Trait Implementations§
Source§impl Clone for PropertyNode
impl Clone for PropertyNode
Source§fn clone(&self) -> PropertyNode
fn clone(&self) -> PropertyNode
Returns a copy 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 PropertyNode
impl Debug for PropertyNode
Source§impl<'de> Deserialize<'de> for PropertyNode
impl<'de> Deserialize<'de> for PropertyNode
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 PropertyNode
impl PartialEq for PropertyNode
Source§impl Serialize for PropertyNode
impl Serialize for PropertyNode
impl StructuralPartialEq for PropertyNode
Auto Trait Implementations§
impl Freeze for PropertyNode
impl RefUnwindSafe for PropertyNode
impl Send for PropertyNode
impl Sync for PropertyNode
impl Unpin for PropertyNode
impl UnwindSafe for PropertyNode
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