pub enum ProjectRef {
Current,
CurrentlyRendering,
Tab(u32),
}
Expand description
Something which refers to a certain project.
Variants§
Current
Project in the currently open tab.
CurrentlyRendering
Project which is currently rendering (if there is one).
Tab(u32)
Project at the given tab index.
Implementations§
Trait Implementations§
Source§impl Clone for ProjectRef
impl Clone for ProjectRef
Source§fn clone(&self) -> ProjectRef
fn clone(&self) -> ProjectRef
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 ProjectRef
impl Debug for ProjectRef
Source§impl Hash for ProjectRef
impl Hash for ProjectRef
Source§impl PartialEq for ProjectRef
impl PartialEq for ProjectRef
impl Copy for ProjectRef
impl Eq for ProjectRef
impl StructuralPartialEq for ProjectRef
Auto Trait Implementations§
impl Freeze for ProjectRef
impl RefUnwindSafe for ProjectRef
impl Send for ProjectRef
impl Sync for ProjectRef
impl Unpin for ProjectRef
impl UnwindSafe for ProjectRef
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