Struct Child
pub struct Child<'a>(/* private fields */);
Expand description
A view of a Predicate
child, provided by reflection.
Implementations§
§impl<'a> Child<'a>
impl<'a> Child<'a>
pub fn new(key: &'a str, value: &'a dyn PredicateReflection) -> Child<'a>
pub fn new(key: &'a str, value: &'a dyn PredicateReflection) -> Child<'a>
Create a new Predicate
child.
pub fn value(&self) -> &dyn PredicateReflection
pub fn value(&self) -> &dyn PredicateReflection
Access the Child
Predicate
.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Child<'a>
impl<'a> !RefUnwindSafe for Child<'a>
impl<'a> !Send for Child<'a>
impl<'a> !Sync for Child<'a>
impl<'a> Unpin for Child<'a>
impl<'a> !UnwindSafe for Child<'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