Struct makepad_live_compiler::live_node::LiveNodeOrigin
source · [−]pub struct LiveNodeOrigin(_);
Implementations
sourceimpl 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
sourceimpl Clone for LiveNodeOrigin
impl Clone for LiveNodeOrigin
sourcefn clone(&self) -> LiveNodeOrigin
fn clone(&self) -> LiveNodeOrigin
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LiveNodeOrigin
impl Debug for LiveNodeOrigin
sourceimpl PartialEq<LiveNodeOrigin> for LiveNodeOrigin
impl PartialEq<LiveNodeOrigin> for LiveNodeOrigin
sourcefn eq(&self, other: &LiveNodeOrigin) -> bool
fn eq(&self, other: &LiveNodeOrigin) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more