Struct makepad_live_compiler::live_node::LiveNodeOrigin
source · pub struct LiveNodeOrigin(/* private fields */);
Implementations§
source§impl LiveNodeOrigin
impl LiveNodeOrigin
pub fn empty() -> Self
pub fn field() -> Self
pub fn instance() -> Self
pub fn from_token_id(token_id: LiveTokenId) -> Self
pub fn token_id(&self) -> Option<LiveTokenId>
pub fn set_first_def(&mut self, token_id: Option<LiveTokenId>) -> &mut Self
pub fn first_def(&self) -> Option<LiveTokenId>
pub fn set_edit_info(&mut self, edit_info: Option<LiveEditInfo>) -> &mut Self
pub fn with_edit_info(self, edit_info: Option<LiveEditInfo>) -> Self
pub fn edit_info(&self) -> Option<LiveEditInfo>
pub fn set_node_has_prefix(&mut self, node_has_prefix: bool)
pub fn with_node_has_prefix(self, node_has_prefix: bool) -> Self
pub fn node_has_prefix(&self) -> bool
pub fn with_prop_type(self, prop_type: LivePropType) -> Self
pub fn set_prop_type(&mut self, prop_type: LivePropType)
pub fn prop_type(&self) -> LivePropType
pub fn has_prop_type(&self, origin: LivePropType) -> bool
pub fn inherit_origin(&mut self, origin: Self)
Trait Implementations§
source§impl Clone for LiveNodeOrigin
impl Clone for LiveNodeOrigin
source§fn clone(&self) -> LiveNodeOrigin
fn clone(&self) -> LiveNodeOrigin
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 LiveNodeOrigin
impl Debug for LiveNodeOrigin
source§impl PartialEq<LiveNodeOrigin> for LiveNodeOrigin
impl PartialEq<LiveNodeOrigin> for LiveNodeOrigin
source§fn eq(&self, other: &LiveNodeOrigin) -> bool
fn eq(&self, other: &LiveNodeOrigin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LiveNodeOrigin
impl StructuralPartialEq for LiveNodeOrigin
Auto Trait Implementations§
impl RefUnwindSafe for LiveNodeOrigin
impl Send for LiveNodeOrigin
impl Sync for LiveNodeOrigin
impl Unpin for LiveNodeOrigin
impl UnwindSafe for LiveNodeOrigin
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