[−][src]Struct librojo::rbx_session::RbxSession
Contains all of the state needed to update an RbxTree in real time using
the in-memory filesystem, as well as messaging to Rojo clients what
instances have actually updated at any point.
Methods
impl RbxSession[src]
pub fn new(
project: Arc<Project>,
imfs: Arc<Mutex<Imfs>>,
message_queue: Arc<MessageQueue<InstanceChanges>>
) -> Result<RbxSession, SnapshotError>[src]
project: Arc<Project>,
imfs: Arc<Mutex<Imfs>>,
message_queue: Arc<MessageQueue<InstanceChanges>>
) -> Result<RbxSession, SnapshotError>
pub fn path_created(&mut self, path: &Path)[src]
pub fn path_updated(&mut self, path: &Path)[src]
pub fn path_removed(&mut self, path: &Path)[src]
pub fn path_renamed(&mut self, from_path: &Path, to_path: &Path)[src]
pub fn get_tree(&self) -> &RbxTree[src]
pub fn get_all_instance_metadata(&self) -> &HashMap<RbxId, MetadataPerInstance>[src]
pub fn get_instance_metadata(&self, id: RbxId) -> Option<&MetadataPerInstance>[src]
Auto Trait Implementations
impl Send for RbxSession
impl Unpin for RbxSession
impl Sync for RbxSession
impl UnwindSafe for RbxSession
impl RefUnwindSafe for RbxSession
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,