#[repr(C)]pub struct ResourceLocation {
pub value: i32,
}Expand description
Fields§
§value: i32Implementations§
Source§impl ResourceLocation
impl ResourceLocation
pub fn embedded() -> Self
pub fn contained_in_another_assembly() -> Self
pub fn contained_in_manifest_file() -> Self
Trait Implementations§
Source§impl ClassIdentity for ResourceLocation
impl ClassIdentity for ResourceLocation
Source§impl Clone for ResourceLocation
impl Clone for ResourceLocation
Source§fn clone(&self) -> ResourceLocation
fn clone(&self) -> ResourceLocation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResourceLocation
impl Debug for ResourceLocation
Source§impl PartialEq for ResourceLocation
impl PartialEq for ResourceLocation
impl Copy for ResourceLocation
impl Eq for ResourceLocation
impl StructuralPartialEq for ResourceLocation
Auto Trait Implementations§
impl Freeze for ResourceLocation
impl RefUnwindSafe for ResourceLocation
impl Send for ResourceLocation
impl Sync for ResourceLocation
impl Unpin for ResourceLocation
impl UnwindSafe for ResourceLocation
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)