Struct predicates_core::reflection::Child [−][src]
pub struct Child<'a>(_, _);
A view of a Predicate child, provided by reflection.
Methods
impl<'a> Child<'a>[src]
impl<'a> Child<'a>pub fn new(key: &'a str, value: &'a PredicateReflection) -> Self[src]
pub fn new(key: &'a str, value: &'a PredicateReflection) -> SelfCreate a new Predicate child.
pub fn name(&self) -> &str[src]
pub fn name(&self) -> &strAccess the Child's name.
pub fn value(&self) -> &PredicateReflection[src]
pub fn value(&self) -> &PredicateReflectionAccess the Child Predicate.
Trait Implementations
impl<'a> Display for Child<'a>[src]
impl<'a> Display for Child<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> Debug for Child<'a>[src]
impl<'a> Debug for Child<'a>