pub struct CodeGraphPrunePolicy {
pub max_selected: usize,
pub demote_before_remove: bool,
pub protect_focus: bool,
pub relation_prune_priority: BTreeMap<String, u8>,
}Fields§
§max_selected: usize§demote_before_remove: bool§protect_focus: bool§relation_prune_priority: BTreeMap<String, u8>Trait Implementations§
Source§impl Clone for CodeGraphPrunePolicy
impl Clone for CodeGraphPrunePolicy
Source§fn clone(&self) -> CodeGraphPrunePolicy
fn clone(&self) -> CodeGraphPrunePolicy
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 CodeGraphPrunePolicy
impl Debug for CodeGraphPrunePolicy
Source§impl Default for CodeGraphPrunePolicy
impl Default for CodeGraphPrunePolicy
Source§impl<'de> Deserialize<'de> for CodeGraphPrunePolicy
impl<'de> Deserialize<'de> for CodeGraphPrunePolicy
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
Auto Trait Implementations§
impl Freeze for CodeGraphPrunePolicy
impl RefUnwindSafe for CodeGraphPrunePolicy
impl Send for CodeGraphPrunePolicy
impl Sync for CodeGraphPrunePolicy
impl Unpin for CodeGraphPrunePolicy
impl UnsafeUnpin for CodeGraphPrunePolicy
impl UnwindSafe for CodeGraphPrunePolicy
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