pub struct CaseTree { /* private fields */ }Implementations§
Source§impl CaseTree
impl CaseTree
pub fn new(value: Cow<'_, str>) -> Self
pub fn set_entity(&mut self, entity: Entity) -> &mut Self
pub fn set_payload( &mut self, dtype: Cow<'_, str>, null: Nullability, index: usize, )
pub fn as_str(&self) -> &str
pub fn get_payload(&self) -> Option<&Payload>
pub fn insert_child( &mut self, path: &[Cow<'_, str>], value: Cow<'_, str>, ) -> Option<&mut Self>
pub fn get_child(&self, path: &[&str]) -> Option<&Self>
pub fn get_values<'a>(&'a self, path: &[&str]) -> CaseValues<'a> ⓘ
pub fn get_nodes(&self, entity: Entity) -> CaseNodes<'_> ⓘ
Auto Trait Implementations§
impl Freeze for CaseTree
impl RefUnwindSafe for CaseTree
impl Send for CaseTree
impl Sync for CaseTree
impl Unpin for CaseTree
impl UnsafeUnpin for CaseTree
impl UnwindSafe for CaseTree
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
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