pub struct FileOpened {
pub buffer_id: u64,
pub path: String,
}Expand description
A file was opened into a buffer.
Emitted after file content is loaded into a buffer.
Fields§
§buffer_id: u64Buffer ID the file was loaded into
path: StringPath of the opened file
Trait Implementations§
Source§impl Clone for FileOpened
impl Clone for FileOpened
Source§fn clone(&self) -> FileOpened
fn clone(&self) -> FileOpened
Returns a duplicate 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 FileOpened
impl Debug for FileOpened
Source§impl Event for FileOpened
impl Event for FileOpened
Source§impl PartialEq for FileOpened
impl PartialEq for FileOpened
impl Eq for FileOpened
impl StructuralPartialEq for FileOpened
Auto Trait Implementations§
impl Freeze for FileOpened
impl RefUnwindSafe for FileOpened
impl Send for FileOpened
impl Sync for FileOpened
impl Unpin for FileOpened
impl UnsafeUnpin for FileOpened
impl UnwindSafe for FileOpened
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