pub struct PropertySelector {
pub node_path: Vec<StringSelector>,
pub target_properties: StringSelector,
}
Expand description
A selector defining a set of nodes to match, and on those matched nodes a set of named properties to match.
Fields§
§node_path: Vec<StringSelector>
A vector of StringSelectors which serve as a pattern matcher for paths through a hierarchy of named nodes. Each entry in the vector is a selector for a single named node in a data hierarchy. The vector of selectors for named nodes, then, defines a selector on paths through the data hierarchy.
Node paths support wildcarding, which will glob a single level of a node hierarchy. eg: root/a/b//d will match all nodes named d which are below some child of node b. root/a/b/c will match all nodes below b which start with the character “c”.
target_properties: StringSelector
A StringSelector which serves as a pattern matcher for string-named properties on a node in a data hierarchy.
target_properties supports wildcarding, which will match against all properties on any node matched by node_path.
Trait Implementations§
Source§impl Clone for PropertySelector
impl Clone for PropertySelector
Source§fn clone(&self) -> PropertySelector
fn clone(&self) -> PropertySelector
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PropertySelector
impl Debug for PropertySelector
Source§impl<D: ResourceDialect> Decode<PropertySelector, D> for PropertySelector
impl<D: ResourceDialect> Decode<PropertySelector, D> for PropertySelector
Source§impl<D: ResourceDialect> Encode<PropertySelector, D> for &PropertySelector
impl<D: ResourceDialect> Encode<PropertySelector, D> for &PropertySelector
Source§impl<D: ResourceDialect, T0: Encode<Vector<StringSelector, 100>, D>, T1: Encode<StringSelector, D>> Encode<PropertySelector, D> for (T0, T1)
impl<D: ResourceDialect, T0: Encode<Vector<StringSelector, 100>, D>, T1: Encode<StringSelector, D>> Encode<PropertySelector, D> for (T0, T1)
Source§impl PartialEq for PropertySelector
impl PartialEq for PropertySelector
Source§impl TypeMarker for PropertySelector
impl TypeMarker for PropertySelector
Source§type Owned = PropertySelector
type Owned = PropertySelector
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for PropertySelector
impl ValueTypeMarker for PropertySelector
Source§type Borrowed<'a> = &'a PropertySelector
type Borrowed<'a> = &'a PropertySelector
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for PropertySelector
impl StructuralPartialEq for PropertySelector
Auto Trait Implementations§
impl Freeze for PropertySelector
impl RefUnwindSafe for PropertySelector
impl Send for PropertySelector
impl Sync for PropertySelector
impl Unpin for PropertySelector
impl UnwindSafe for PropertySelector
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)