Struct makepad_live_compiler::live_expander::LiveExpander
source · [−]pub struct LiveExpander<'a> {
pub live_registry: &'a LiveRegistry,
pub in_crate: LiveId,
pub in_file_id: LiveFileId,
pub errors: &'a mut Vec<LiveError>,
}
Fields
live_registry: &'a LiveRegistry
in_crate: LiveId
in_file_id: LiveFileId
errors: &'a mut Vec<LiveError>
Implementations
sourceimpl<'a> LiveExpander<'a>
impl<'a> LiveExpander<'a>
pub fn is_baseclass(id: LiveId) -> bool
pub fn shift_parent_stack(
&self,
parents: &mut Vec<(LiveId, usize)>,
nodes: &[LiveNode],
after_point: usize,
old_size: usize,
new_size: usize
)
pub fn expand(
&mut self,
in_doc: &LiveOriginal,
out_doc: &mut LiveExpanded,
generation: LiveFileGeneration
)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for LiveExpander<'a>
impl<'a> !Send for LiveExpander<'a>
impl<'a> !Sync for LiveExpander<'a>
impl<'a> Unpin for LiveExpander<'a>
impl<'a> !UnwindSafe for LiveExpander<'a>
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