pub struct SourceLogicalLocatorV1 { /* private fields */ }Expand description
Validated bounded source-internal locator used only for V1 provenance.
Implementations§
Source§impl SourceLogicalLocatorV1
impl SourceLogicalLocatorV1
Sourcepub fn gltf_json_pointer(
value: impl AsRef<str>,
) -> Result<Self, SourceFactsError>
pub fn gltf_json_pointer( value: impl AsRef<str>, ) -> Result<Self, SourceFactsError>
Validate a generated glTF JSON Pointer used by this V1 fact model.
§Errors
Returns SourceFactsError::InvalidLogicalLocator outside the
structural vocabulary and SourceFactsError::TextTooLong when oversized.
Sourcepub fn fbx_parser_path(value: impl AsRef<str>) -> Result<Self, SourceFactsError>
pub fn fbx_parser_path(value: impl AsRef<str>) -> Result<Self, SourceFactsError>
Validate a generated parser-domain locator under the fbx: namespace.
§Errors
Returns SourceFactsError::InvalidLogicalLocator for host/resource
paths, controls, or malformed segments, and
SourceFactsError::TextTooLong when oversized.
Trait Implementations§
Source§impl Clone for SourceLogicalLocatorV1
impl Clone for SourceLogicalLocatorV1
Source§fn clone(&self) -> SourceLogicalLocatorV1
fn clone(&self) -> SourceLogicalLocatorV1
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 Debug for SourceLogicalLocatorV1
impl Debug for SourceLogicalLocatorV1
impl Eq for SourceLogicalLocatorV1
Source§impl Ord for SourceLogicalLocatorV1
impl Ord for SourceLogicalLocatorV1
Source§fn cmp(&self, other: &SourceLogicalLocatorV1) -> Ordering
fn cmp(&self, other: &SourceLogicalLocatorV1) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceLogicalLocatorV1
impl PartialEq for SourceLogicalLocatorV1
Source§impl PartialOrd for SourceLogicalLocatorV1
impl PartialOrd for SourceLogicalLocatorV1
impl StructuralPartialEq for SourceLogicalLocatorV1
Auto Trait Implementations§
impl Freeze for SourceLogicalLocatorV1
impl RefUnwindSafe for SourceLogicalLocatorV1
impl Send for SourceLogicalLocatorV1
impl Sync for SourceLogicalLocatorV1
impl Unpin for SourceLogicalLocatorV1
impl UnsafeUnpin for SourceLogicalLocatorV1
impl UnwindSafe for SourceLogicalLocatorV1
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