Struct pax_engine::NodeInterface
source · pub struct NodeInterface { /* private fields */ }Implementations§
source§impl NodeInterface
impl NodeInterface
pub fn global_id(&self) -> Option<UniqueTemplateNodeIdentifier>
pub fn properties(&self) -> Properties
pub fn origin(&self) -> Option<Point2<Window>>
pub fn transform(&self) -> Option<Transform2<Window, NodeLocal>>
pub fn bounding_points(&self) -> Option<[Point2<Window>; 4]>
pub fn is_descendant_of(&self, node: &NodeInterface) -> bool
Trait Implementations§
source§impl From<Rc<ExpandedNode>> for NodeInterface
impl From<Rc<ExpandedNode>> for NodeInterface
source§fn from(expanded_node: Rc<ExpandedNode>) -> NodeInterface
fn from(expanded_node: Rc<ExpandedNode>) -> NodeInterface
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for NodeInterface
impl !Send for NodeInterface
impl !Sync for NodeInterface
impl Unpin for NodeInterface
impl !UnwindSafe for NodeInterface
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
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.