pub struct Imported(pub Rc<Vec<ImportedBody>>);Expand description
The bodies of a STEP file, as read: the value of an import’s target
imported, shared with every other build reading the same file (see
[read]).
Tuple Fields§
§0: Rc<Vec<ImportedBody>>Trait Implementations§
Source§impl HasElements<Imported> for Imported
impl HasElements<Imported> for Imported
Source§const SINGLETON: Option<&'static str> = None
const SINGLETON: Option<&'static str> = None
The name of the one target of this type a part has, if it has only
one — the topology, say: a reference into it is saved as the
element’s name alone.
Source§type Element<'a> = &'a Imported
type Element<'a> = &'a Imported
What an element resolves to: a borrow of it, or what it gives.
Source§fn element(&self, name: &str) -> GeopResult<&Imported>
fn element(&self, name: &str) -> GeopResult<&Imported>
The element
name, or why there is none.Source§fn undefined() -> Option<&'static Self>
fn undefined() -> Option<&'static Self>
What the target reads as where no step made it, if it reads as
anything then — the datums every part starts with. None by default:
reading it fails.
Source§fn names_target(name: &str) -> bool
fn names_target(name: &str) -> bool
Whether the target named
name could be one of this type: what
tells a pick of an element of it from one of a target of another
type with elements of the same kind (ElementReference::from_picked).
The singleton’s name, for a singleton; any name, by default.impl StructuralPartialEq for Imported
Source§impl Target for Imported
Each import step’s own.
impl Target for Imported
Each import step’s own.
Source§const CHAIN: bool = false
const CHAIN: bool = false
Whether several steps may produce a target of this type, each from
what the steps before left (see
crate::reader::Reader::previous):
the model, the datums, the parameters’ values, the listings — what
a program accumulates. A target that is not a chain — a sketch, a
placed part — has one producer, and a second is an error naming
both.Auto Trait Implementations§
impl !Send for Imported
impl !Sync for Imported
impl Freeze for Imported
impl RefUnwindSafe for Imported
impl Unpin for Imported
impl UnsafeUnpin for Imported
impl UnwindSafe for Imported
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