pub struct ParentProperty<'a> {
pub parent: &'a str,
pub key: &'a str,
pub value: PropertyValue,
}Expand description
A property of one of the driver’s parent nodes, as reported by
crate::DriverContext::node_properties.
Fields§
§parent: &'a strThe name of the parent node the property belongs to. A driver bound to a single node sees
its properties under the name default; a composite driver sees one group per parent,
plus a default group that repeats the primary parent’s properties.
key: &'a strThe property key.
value: PropertyValueThe property value.
Trait Implementations§
Source§impl<'a> Clone for ParentProperty<'a>
impl<'a> Clone for ParentProperty<'a>
Source§impl<'a> Debug for ParentProperty<'a>
impl<'a> Debug for ParentProperty<'a>
Source§impl<'a> PartialEq for ParentProperty<'a>
impl<'a> PartialEq for ParentProperty<'a>
impl<'a> StructuralPartialEq for ParentProperty<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParentProperty<'a>
impl<'a> RefUnwindSafe for ParentProperty<'a>
impl<'a> Send for ParentProperty<'a>
impl<'a> Sync for ParentProperty<'a>
impl<'a> Unpin for ParentProperty<'a>
impl<'a> UnsafeUnpin for ParentProperty<'a>
impl<'a> UnwindSafe for ParentProperty<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
Source§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
Source§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to Self§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more