pub enum ImportTarget<'a> {
AsRecorded,
Project(&'a str),
}Expand description
Where import_line_in files a line.
Variants§
AsRecorded
Under the project the line names in its own project. Nothing in the
line changes. A tombstone line names no project and is refused.
Project(&'a str)
Under this project key (p + 16 hex, not the user-wide key). A
note’s project and namespace are set to it.
Trait Implementations§
Source§impl<'a> Clone for ImportTarget<'a>
impl<'a> Clone for ImportTarget<'a>
impl<'a> Copy for ImportTarget<'a>
Source§impl<'a> Debug for ImportTarget<'a>
impl<'a> Debug for ImportTarget<'a>
impl<'a> Eq for ImportTarget<'a>
Source§impl<'a> PartialEq for ImportTarget<'a>
impl<'a> PartialEq for ImportTarget<'a>
impl<'a> StructuralPartialEq for ImportTarget<'a>
Auto Trait Implementations§
impl<'a> Forget for ImportTarget<'a>
impl<'a> Freeze for ImportTarget<'a>
impl<'a> Move for ImportTarget<'a>
impl<'a> RefUnwindSafe for ImportTarget<'a>
impl<'a> Send for ImportTarget<'a>
impl<'a> Sync for ImportTarget<'a>
impl<'a> Unpin for ImportTarget<'a>
impl<'a> UnsafeUnpin for ImportTarget<'a>
impl<'a> UnwindSafe for ImportTarget<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.