pub trait Any<T, B> {
    // Required method
    fn as_ref(&self) -> Ref<'_, T, B>;
    // Provided methods
    fn id(&self) -> Option<&Id<T, B>> { ... }
    fn language<'a>(&'a self) -> Option<&'a LenientLangTag>
       where T: 'a,
             B: 'a { ... }
    fn is_value(&self) -> bool { ... }
    fn is_node(&self) -> bool { ... }
    fn is_graph(&self) -> bool { ... }
    fn is_list(&self) -> bool { ... }
}Expand description
Abstract object.