pub struct XamlPropertyAssignmentNode {
pub property: Rc<XamlAstClrProperty>,
pub possible_setters: RefCell<Vec<Rc<dyn IXamlPropertySetter>>>,
pub values: RefCell<Vec<Rc<dyn IXamlAstValueNode>>>,
/* private fields */
}Fields§
§property: Rc<XamlAstClrProperty>§possible_setters: RefCell<Vec<Rc<dyn IXamlPropertySetter>>>§values: RefCell<Vec<Rc<dyn IXamlAstValueNode>>>Implementations§
Source§impl XamlPropertyAssignmentNode
impl XamlPropertyAssignmentNode
pub fn new( line_info: &dyn IXamlLineInfo, property: Rc<XamlAstClrProperty>, setters: Vec<Rc<dyn IXamlPropertySetter>>, values: Vec<Rc<dyn IXamlAstValueNode>>, ) -> Rc<Self>
Trait Implementations§
impl IXamlAstManipulationNode for XamlPropertyAssignmentNode
Source§impl IXamlAstNode for XamlPropertyAssignmentNode
impl IXamlAstNode for XamlPropertyAssignmentNode
fn as_any(&self) -> &dyn Any
fn into_any_rc(self: Rc<Self>) -> Rc<dyn Any>
Source§fn into_manipulation_node(
self: Rc<Self>,
) -> Option<Rc<dyn IXamlAstManipulationNode>>
fn into_manipulation_node( self: Rc<Self>, ) -> Option<Rc<dyn IXamlAstManipulationNode>>
this as IXamlAstManipulationNode.Source§fn visit_children(&self, visitor: &mut dyn IXamlAstVisitor) -> XamlResult<()>
fn visit_children(&self, visitor: &mut dyn IXamlAstVisitor) -> XamlResult<()>
Visits (and replaces in place) the children of this node.
fn is_skipped(&self) -> bool
Source§fn to_node_string(&self) -> String
fn to_node_string(&self) -> String
object.ToString().Source§fn into_value_node(self: Rc<Self>) -> Option<Rc<dyn IXamlAstValueNode>>
fn into_value_node(self: Rc<Self>) -> Option<Rc<dyn IXamlAstValueNode>>
this as IXamlAstValueNode.Source§fn into_imperative_node(
self: Rc<Self>,
) -> Option<Rc<dyn IXamlAstImperativeNode>>
fn into_imperative_node( self: Rc<Self>, ) -> Option<Rc<dyn IXamlAstImperativeNode>>
this as IXamlAstImperativeNode.Source§fn into_type_reference(self: Rc<Self>) -> Option<Rc<dyn IXamlAstTypeReference>>
fn into_type_reference(self: Rc<Self>) -> Option<Rc<dyn IXamlAstTypeReference>>
this as IXamlAstTypeReference.Source§fn into_property_reference(
self: Rc<Self>,
) -> Option<Rc<dyn IXamlAstPropertyReference>>
fn into_property_reference( self: Rc<Self>, ) -> Option<Rc<dyn IXamlAstPropertyReference>>
this as IXamlAstPropertyReference.Source§fn as_needs_parent_stack(&self) -> Option<&dyn IXamlAstNodeNeedsParentStack>
fn as_needs_parent_stack(&self) -> Option<&dyn IXamlAstNodeNeedsParentStack>
this as IXamlAstNodeNeedsParentStack.Source§fn as_value_with_side_effect_node_base(
&self,
) -> Option<&XamlValueWithSideEffectNodeBase>
fn as_value_with_side_effect_node_base( &self, ) -> Option<&XamlValueWithSideEffectNodeBase>
this as XamlValueWithSideEffectNodeBase (base class of several nodes).Source§fn as_value_with_manipulation_node(
&self,
) -> Option<&XamlValueWithManipulationNode>
fn as_value_with_manipulation_node( &self, ) -> Option<&XamlValueWithManipulationNode>
this as XamlValueWithManipulationNode (also true for its subclasses).Source§fn as_method_call_base_node(&self) -> Option<&XamlMethodCallBaseNode>
fn as_method_call_base_node(&self) -> Option<&XamlMethodCallBaseNode>
this as XamlMethodCallBaseNode (base class of the method call nodes).Auto Trait Implementations§
impl !Freeze for XamlPropertyAssignmentNode
impl !RefUnwindSafe for XamlPropertyAssignmentNode
impl !Send for XamlPropertyAssignmentNode
impl !Sync for XamlPropertyAssignmentNode
impl !UnwindSafe for XamlPropertyAssignmentNode
impl Unpin for XamlPropertyAssignmentNode
impl UnsafeUnpin for XamlPropertyAssignmentNode
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