Enum ldtk2::AllowedRefs
source · pub enum AllowedRefs {
Any,
OnlySame,
OnlySpecificEntity,
OnlyTags,
}
Expand description
Possible values: Any
, OnlySame
, OnlyTags
, OnlySpecificEntity
Variants§
Trait Implementations§
source§impl Clone for AllowedRefs
impl Clone for AllowedRefs
source§fn clone(&self) -> AllowedRefs
fn clone(&self) -> AllowedRefs
Returns a copy of the value. Read more
1.0.0 · 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 AllowedRefs
impl Debug for AllowedRefs
source§impl<'de> Deserialize<'de> for AllowedRefs
impl<'de> Deserialize<'de> for AllowedRefs
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
Auto Trait Implementations§
impl RefUnwindSafe for AllowedRefs
impl Send for AllowedRefs
impl Sync for AllowedRefs
impl Unpin for AllowedRefs
impl UnwindSafe for AllowedRefs
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