pub struct Part10Dataset<'a> { /* private fields */ }Expand description
Source-bound cold index. No source value is copied, decoded or reserialized.
Implementations§
Source§impl<'a> Part10Dataset<'a>
impl<'a> Part10Dataset<'a>
pub fn parse( source: &'a [u8], limits: ParseLimits, ) -> Result<Self, DatasetError>
Source§impl<'a> Part10Dataset<'a>
impl<'a> Part10Dataset<'a>
pub fn original_bytes(&self) -> &'a [u8] ⓘ
pub fn source_blake3(&self) -> [u8; 32]
pub fn transfer_syntax(&self) -> TransferSyntax
pub fn transfer_syntax_uid(&self) -> &'a str
pub fn media_sop_class_uid(&self) -> Option<&'a str>
pub fn media_sop_instance_uid(&self) -> Option<&'a str>
pub fn element_count(&self) -> usize
pub fn item_count(&self) -> usize
pub fn element(&self, id: ElementId) -> Result<&Element, DatasetError>
pub fn value(&self, id: ElementId) -> Result<&'a [u8], DatasetError>
pub fn find( &self, scope: Option<ItemId>, tag: u32, work: &mut WorkBudget, ) -> Result<Option<ElementId>, DatasetError>
pub fn children<'b>( &'b self, scope: Option<ItemId>, work: &mut WorkBudget, ) -> Result<impl Iterator<Item = ElementId> + 'b, DatasetError>
pub fn sequence_items<'b>( &'b self, id: ElementId, work: &mut WorkBudget, ) -> Result<impl Iterator<Item = ItemId> + 'b, DatasetError>
pub fn item_bytes(&self, id: ItemId) -> Result<&'a [u8], DatasetError>
pub fn expected_value( &self, scope: Option<ItemId>, tag: u32, vr: [u8; 2], work: &mut WorkBudget, ) -> Result<Option<&'a [u8]>, DatasetError>
pub fn uid( &self, scope: Option<ItemId>, tag: u32, work: &mut WorkBudget, ) -> Result<Option<&'a str>, DatasetError>
pub fn text( &self, scope: Option<ItemId>, tag: u32, vr: [u8; 2], work: &mut WorkBudget, ) -> Result<Option<&'a str>, DatasetError>
pub fn unsigned_short( &self, tag: u32, work: &mut WorkBudget, ) -> Result<Option<u16>, DatasetError>
pub fn frame_count(&self, work: &mut WorkBudget) -> Result<u32, DatasetError>
Auto Trait Implementations§
impl<'a> Freeze for Part10Dataset<'a>
impl<'a> RefUnwindSafe for Part10Dataset<'a>
impl<'a> Send for Part10Dataset<'a>
impl<'a> Sync for Part10Dataset<'a>
impl<'a> Unpin for Part10Dataset<'a>
impl<'a> UnsafeUnpin for Part10Dataset<'a>
impl<'a> UnwindSafe for Part10Dataset<'a>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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