pub struct SelectionSpec {
pub name: Option<String>,
}Expand description
The SelectionSpec is the base type for data object types that specify what additional objects to filter.
The base type contains only an optional “name” field, which allows a selection to be named for future reference. More information is available in the subtype.
Named selections support recursive specifications on an object hierarchy. When used by a derived object, the “name” field allows other SelectionSpec objects to refer to the object by name. When used as the base type only, the “name” field indicates recursion to the derived object by name.
Names are meaningful only within the same FilterSpec.
§How to access
PropertyFilter::spec.object_set[*].select_set?[*]PropertyCollector::create_filter(spec).object_set[*].select_set?[*]PropertyCollector::retrieve_properties(spec_set).object_set[*].select_set?[*]PropertyCollector::retrieve_properties_ex(spec_set).object_set[*].select_set?[*]
Fields§
§name: Option<String>Name of the selection specification.
Trait Implementations§
Source§impl Debug for SelectionSpec
impl Debug for SelectionSpec
Source§impl Deserialize for SelectionSpec
impl Deserialize for SelectionSpec
Source§impl SelectionSpecTrait for SelectionSpec
impl SelectionSpecTrait for SelectionSpec
Source§fn get_selection_spec(&self) -> &SelectionSpec
fn get_selection_spec(&self) -> &SelectionSpec
Get a reference to the SelectionSpec parent struct
Source§fn get_selection_spec_mut(&mut self) -> &mut SelectionSpec
fn get_selection_spec_mut(&mut self) -> &mut SelectionSpec
Get a mutable reference to the SelectionSpec parent struct
Source§impl VimObjectTrait for SelectionSpec
impl VimObjectTrait for SelectionSpec
fn as_vim_object_ref<'a>(&'a self) -> &'a dyn VimObjectTrait
fn data_type(&self) -> StructType
impl DataObjectTrait for SelectionSpec
Auto Trait Implementations§
impl Freeze for SelectionSpec
impl RefUnwindSafe for SelectionSpec
impl Send for SelectionSpec
impl Sync for SelectionSpec
impl Unpin for SelectionSpec
impl UnsafeUnpin for SelectionSpec
impl UnwindSafe for SelectionSpec
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