pub struct NxCodec;Expand description
Decoder and inspector for Siemens NX .prt files.
Trait Implementations§
Source§impl Codec for NxCodec
impl Codec for NxCodec
Source§fn detect(&self, prefix: &[u8]) -> Confidence
fn detect(&self, prefix: &[u8]) -> Confidence
Judge, from a leading byte prefix, whether this codec applies.
Source§fn inspect_impl(
&self,
ctx: &DecodeContext<'_>,
root: View<'_>,
) -> Result<ContainerSummary, CodecError>
fn inspect_impl( &self, ctx: &DecodeContext<'_>, root: View<'_>, ) -> Result<ContainerSummary, CodecError>
Enumerate the acquired root view’s streams/segments without decoding
geometry. Read more
Source§fn decode_impl(
&self,
ctx: &DecodeContext<'_>,
root: View<'_>,
) -> Result<DecodeResult, CodecError>
fn decode_impl( &self, ctx: &DecodeContext<'_>, root: View<'_>, ) -> Result<DecodeResult, CodecError>
Decode the acquired root view, reporting incomplete or approximate
transfer. Read more
impl Copy for NxCodec
Auto Trait Implementations§
impl Freeze for NxCodec
impl RefUnwindSafe for NxCodec
impl Send for NxCodec
impl Sync for NxCodec
impl Unpin for NxCodec
impl UnsafeUnpin for NxCodec
impl UnwindSafe for NxCodec
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<C> CodecEntry for C
impl<C> CodecEntry for C
Source§fn inspect(
&self,
reader: &mut dyn ReadSeek,
options: &InspectOptions,
) -> Result<ContainerSummary, CodecError>
fn inspect( &self, reader: &mut dyn ReadSeek, options: &InspectOptions, ) -> Result<ContainerSummary, CodecError>
Inspects the source under its input and resource limits.
Source§fn decode(
&self,
reader: &mut dyn ReadSeek,
options: &DecodeOptions,
) -> Result<DecodeResult, CodecError>
fn decode( &self, reader: &mut dyn ReadSeek, options: &DecodeOptions, ) -> Result<DecodeResult, CodecError>
Decodes the source under its input and resource limits.