Struct uasset::ObjectImport
source · pub struct ObjectImport {
pub class_package: NameReference,
pub class_name: NameReference,
pub object_name: NameReference,
pub package_name: Option<NameReference>,
pub import_optional: bool,
/* private fields */
}
Expand description
A reference to an object in another package. Typically accessed through AssetHeader::package_import_iter
, but you can also
manually resolve the NameReference
s. (C++ name: FObjectImport
)
Fields§
§class_package: NameReference
The name of the package that contains the class of the object we’re importing. (C++ name: ClassPackage
)
class_name: NameReference
The name of the class of the object we’re importing. (C++ name: ClassName
)
object_name: NameReference
The name of the object we are importing. (C++ name: ObjectName
)
package_name: Option<NameReference>
Package name this import belongs to (C++ name: PackageName
)
import_optional: bool
Does this import come from an optional package (C++ name: bImportOptional
)
Implementations§
source§impl ObjectImport
impl ObjectImport
sourcepub fn outer(&self) -> ObjectImportOuter
pub fn outer(&self) -> ObjectImportOuter
Determine where the Outer for this import lives
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ObjectImport
impl Send for ObjectImport
impl Sync for ObjectImport
impl Unpin for ObjectImport
impl UnwindSafe for ObjectImport
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