pub enum AttachmentResolution {
Fixed(PathBuf),
RelativeToFile(String),
}Expand description
Result of resolving the Obsidian attachment folder configuration.
Variants§
Fixed(PathBuf)
Absolute path to a fixed attachment folder (vault root or named folder)
RelativeToFile(String)
Relative to each file’s directory (./ prefix in config)
Trait Implementations§
Source§impl Clone for AttachmentResolution
impl Clone for AttachmentResolution
Source§fn clone(&self) -> AttachmentResolution
fn clone(&self) -> AttachmentResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AttachmentResolution
impl RefUnwindSafe for AttachmentResolution
impl Send for AttachmentResolution
impl Sync for AttachmentResolution
impl Unpin for AttachmentResolution
impl UnsafeUnpin for AttachmentResolution
impl UnwindSafe for AttachmentResolution
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