pub struct BevyGltfAddressabilityRulesV1 { /* private fields */ }Expand description
Separately versioned exact Bevy glTF addressability authority.
Implementations§
Source§impl BevyGltfAddressabilityRulesV1
impl BevyGltfAddressabilityRulesV1
Sourcepub fn frozen(target_pointer_width: Option<TargetPointerWidth>) -> Self
pub fn frozen(target_pointer_width: Option<TargetPointerWidth>) -> Self
Materialize the frozen revision-1 rules for the exact revision-3 Bevy profile and an optional explicit target width.
Sourcepub fn contract_id(&self) -> &str
pub fn contract_id(&self) -> &str
Immutable rule-bundle schema identity.
Sourcepub const fn profile_revision(&self) -> u32
pub const fn profile_revision(&self) -> u32
Exact profile revision this separate rule bundle may accompany.
Sourcepub const fn target_pointer_width(&self) -> Option<TargetPointerWidth>
pub const fn target_pointer_width(&self) -> Option<TargetPointerWidth>
Explicit target width, absent when exact target IDs are unavailable.
Sourcepub fn sources(&self) -> &[BevyAddressabilityRuleSourceV1]
pub fn sources(&self) -> &[BevyAddressabilityRuleSourceV1]
Commit-pinned primary sources in canonical identifier order.
Trait Implementations§
Source§impl Clone for BevyGltfAddressabilityRulesV1
impl Clone for BevyGltfAddressabilityRulesV1
Source§fn clone(&self) -> BevyGltfAddressabilityRulesV1
fn clone(&self) -> BevyGltfAddressabilityRulesV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for BevyGltfAddressabilityRulesV1
impl<'de> Deserialize<'de> for BevyGltfAddressabilityRulesV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BevyGltfAddressabilityRulesV1
impl StructuralPartialEq for BevyGltfAddressabilityRulesV1
Auto Trait Implementations§
impl Freeze for BevyGltfAddressabilityRulesV1
impl RefUnwindSafe for BevyGltfAddressabilityRulesV1
impl Send for BevyGltfAddressabilityRulesV1
impl Sync for BevyGltfAddressabilityRulesV1
impl Unpin for BevyGltfAddressabilityRulesV1
impl UnsafeUnpin for BevyGltfAddressabilityRulesV1
impl UnwindSafe for BevyGltfAddressabilityRulesV1
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