pub enum Branch {
    Base(TBranch),
    Element(TBranchElement),
}Expand description
Rust equivalent of TBranch
or TBranchElement (ie column) of a TTree
Choice between TBranch or TBranchElement is done when Root file is read.
Branch should not be constructed by user but accessed via crate::Tree::branch
Variants
Base(TBranch)
Element(TBranchElement)
Implementations
sourceimpl Branch
 
impl Branch
pub fn name(&self) -> &str
pub fn class(&self) -> &str
pub fn item_type_name(&self) -> String
pub fn entries(&self) -> i64
pub fn branches(&self) -> impl Iterator<Item = &Branch>
pub fn branches_r(&self) -> Vec<&Branch>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator, 
A: Allocator,
pub fn get_basket<'a, F, T>(&'a self, func: F) -> impl Iterator<Item = T> + 'a where
    T: 'a,
    F: FnMut(&mut RBuffer<'_>) -> T + 'a, 
sourcepub fn as_iter<'a, T>(&'a self) -> impl Iterator<Item = T> + 'a where
    T: UnmarshalerInto<Item = T> + 'a, 
 
pub fn as_iter<'a, T>(&'a self) -> impl Iterator<Item = T> + 'a where
    T: UnmarshalerInto<Item = T> + 'a, 
Create an iterator over the data of a column (TBranch)
pub fn streamer_type(&self) -> Option<i32>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Branch
impl !Send for Branch
impl !Sync for Branch
impl Unpin for Branch
impl !UnwindSafe for Branch
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more