pub struct SourceRootBinding {
pub path: PathBuf,
pub config_fingerprint: u64,
pub classpath_dir: Option<PathBuf>,
}Expand description
STEP_11_4 — per-source-root binding inside a LogicalWorkspaceWire.
path MUST appear in the parent LogicalWorkspaceWire::source_roots
vector; the daemon matches bindings to source roots by canonical path
equality. A binding whose path is not in source_roots is silently
ignored.
Fields§
§path: PathBufCanonical absolute path of the source root this binding applies to.
config_fingerprint: u64Per-source-root override of the config fingerprint. 0 means
“use the workspace-level fingerprint”; non-zero overrides for
this source root only.
classpath_dir: Option<PathBuf>Optional pre-resolved classpath directory for this source root.
Trait Implementations§
Source§impl Clone for SourceRootBinding
impl Clone for SourceRootBinding
Source§fn clone(&self) -> SourceRootBinding
fn clone(&self) -> SourceRootBinding
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 SourceRootBinding
impl Debug for SourceRootBinding
Source§impl<'de> Deserialize<'de> for SourceRootBinding
impl<'de> Deserialize<'de> for SourceRootBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SourceRootBinding
impl PartialEq for SourceRootBinding
Source§impl Serialize for SourceRootBinding
impl Serialize for SourceRootBinding
impl Eq for SourceRootBinding
impl StructuralPartialEq for SourceRootBinding
Auto Trait Implementations§
impl Freeze for SourceRootBinding
impl RefUnwindSafe for SourceRootBinding
impl Send for SourceRootBinding
impl Sync for SourceRootBinding
impl Unpin for SourceRootBinding
impl UnsafeUnpin for SourceRootBinding
impl UnwindSafe for SourceRootBinding
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