#[repr(i32)]pub enum ClassID {
Show 364 variants
UnknownType = -1,
Object = 0,
GameObject = 1,
Component = 2,
LevelGameManager = 3,
Transform = 4,
TimeManager = 5,
GlobalGameManager = 6,
Behaviour = 8,
GameManager = 9,
AudioManager = 11,
ParticleAnimator = 12,
InputManager = 13,
EllipsoidParticleEmitter = 15,
Pipeline = 17,
EditorExtension = 18,
Physics2DSettings = 19,
Camera = 20,
Material = 21,
MeshRenderer = 23,
Renderer = 25,
ParticleRenderer = 26,
Texture = 27,
Texture2D = 28,
OcclusionCullingSettings = 29,
GraphicsSettings = 30,
MeshFilter = 33,
OcclusionPortal = 41,
Mesh = 43,
Skybox = 45,
QualitySettings = 47,
Shader = 48,
TextAsset = 49,
Rigidbody2D = 50,
Physics2DManager = 51,
Collider2D = 53,
Rigidbody = 54,
PhysicsManager = 55,
Collider = 56,
Joint = 57,
CircleCollider2D = 58,
HingeJoint = 59,
PolygonCollider2D = 60,
BoxCollider2D = 61,
PhysicsMaterial2D = 62,
MeshCollider = 64,
BoxCollider = 65,
CompositeCollider2D = 66,
EdgeCollider2D = 68,
CapsuleCollider2D = 70,
ComputeShader = 72,
AnimationClip = 74,
ConstantForce = 75,
WorldParticleCollider = 76,
TagManager = 78,
AudioListener = 81,
AudioSource = 82,
AudioClip = 83,
RenderTexture = 84,
CustomRenderTexture = 86,
MeshParticleEmitter = 87,
ParticleEmitter = 88,
Cubemap = 89,
Avatar = 90,
AnimatorController = 91,
GUILayer = 92,
RuntimeAnimatorController = 93,
ScriptMapper = 94,
Animator = 95,
TrailRenderer = 96,
DelayedCallManager = 98,
TextMesh = 102,
RenderSettings = 104,
Light = 108,
CGProgram = 109,
BaseAnimationTrack = 110,
Animation = 111,
MonoBehaviour = 114,
MonoScript = 115,
MonoManager = 116,
Texture3D = 117,
NewAnimationTrack = 118,
Projector = 119,
LineRenderer = 120,
Flare = 121,
Halo = 122,
LensFlare = 123,
FlareLayer = 124,
HaloLayer = 125,
NavMeshAreasOrNavMeshProjectSettings = 126,
HaloManager = 127,
Font = 128,
PlayerSettings = 129,
NamedObject = 130,
GUITexture = 131,
GUIText = 132,
GUIElement = 133,
PhysicMaterial = 134,
SphereCollider = 135,
CapsuleCollider = 136,
SkinnedMeshRenderer = 137,
FixedJoint = 138,
RaycastCollider = 140,
BuildSettings = 141,
AssetBundle = 142,
CharacterController = 143,
CharacterJoint = 144,
SpringJoint = 145,
WheelCollider = 146,
ResourceManager = 147,
NetworkView = 148,
NetworkManager = 149,
PreloadData = 150,
MovieTexture = 152,
ConfigurableJoint = 153,
TerrainCollider = 154,
MasterServerInterface = 155,
TerrainData = 156,
LightmapSettings = 157,
WebCamTexture = 158,
EditorSettings = 159,
InteractiveCloth = 160,
ClothRenderer = 161,
EditorUserSettings = 162,
SkinnedCloth = 163,
AudioReverbFilter = 164,
AudioHighPassFilter = 165,
AudioChorusFilter = 166,
AudioReverbZone = 167,
AudioEchoFilter = 168,
AudioLowPassFilter = 169,
AudioDistortionFilter = 170,
SparseTexture = 171,
AudioBehaviour = 180,
AudioFilter = 181,
WindZone = 182,
Cloth = 183,
SubstanceArchive = 184,
ProceduralMaterial = 185,
ProceduralTexture = 186,
Texture2DArray = 187,
CubemapArray = 188,
OffMeshLink = 191,
OcclusionArea = 192,
Tree = 193,
NavMeshObsolete = 194,
NavMeshAgent = 195,
NavMeshSettings = 196,
LightProbesLegacy = 197,
ParticleSystem = 198,
ParticleSystemRenderer = 199,
ShaderVariantCollection = 200,
LODGroup = 205,
BlendTree = 206,
Motion = 207,
NavMeshObstacle = 208,
SortingGroup = 210,
SpriteRenderer = 212,
Sprite = 213,
CachedSpriteAtlas = 214,
ReflectionProbe = 215,
ReflectionProbes = 216,
Terrain = 218,
LightProbeGroup = 220,
AnimatorOverrideController = 221,
CanvasRenderer = 222,
Canvas = 223,
RectTransform = 224,
CanvasGroup = 225,
BillboardAsset = 226,
BillboardRenderer = 227,
SpeedTreeWindAsset = 228,
AnchoredJoint2D = 229,
Joint2D = 230,
SpringJoint2D = 231,
DistanceJoint2D = 232,
HingeJoint2D = 233,
SliderJoint2D = 234,
WheelJoint2D = 235,
ClusterInputManager = 236,
BaseVideoTexture = 237,
NavMeshData = 238,
AudioMixer = 240,
AudioMixerController = 241,
AudioMixerGroupController = 243,
AudioMixerEffectController = 244,
AudioMixerSnapshotController = 245,
PhysicsUpdateBehaviour2D = 246,
ConstantForce2D = 247,
Effector2D = 248,
AreaEffector2D = 249,
PointEffector2D = 250,
PlatformEffector2D = 251,
SurfaceEffector2D = 252,
BuoyancyEffector2D = 253,
RelativeJoint2D = 254,
FixedJoint2D = 255,
FrictionJoint2D = 256,
TargetJoint2D = 257,
LightProbes = 258,
LightProbeProxyVolume = 259,
SampleClip = 271,
AudioMixerSnapshot = 272,
AudioMixerGroup = 273,
NScreenBridge = 280,
AssetBundleManifest = 290,
UnityAdsManager = 292,
RuntimeInitializeOnLoadManager = 300,
CloudWebServicesManager = 301,
UnityAnalyticsManager = 303,
CrashReportManager = 304,
PerformanceReportingManager = 305,
UnityConnectSettings = 310,
AvatarMask = 319,
PlayableDirector = 320,
VideoPlayer = 328,
VideoClip = 329,
ParticleSystemForceField = 330,
SpriteMask = 331,
WorldAnchor = 362,
OcclusionCullingData = 363,
SmallestEditorClassID = 1_000,
PrefabInstance = 1_001,
EditorExtensionImpl = 1_002,
AssetImporter = 1_003,
AssetDatabaseV1 = 1_004,
Mesh3DSImporter = 1_005,
TextureImporter = 1_006,
ShaderImporter = 1_007,
ComputeShaderImporter = 1_008,
AudioImporter = 1_020,
HierarchyState = 1_026,
GUIDSerializer = 1_027,
AssetMetaData = 1_028,
DefaultAsset = 1_029,
DefaultImporter = 1_030,
TextScriptImporter = 1_031,
SceneAsset = 1_032,
NativeFormatImporter = 1_034,
MonoImporter = 1_035,
AssetServerCache = 1_037,
LibraryAssetImporter = 1_038,
ModelImporter = 1_040,
FBXImporter = 1_041,
TrueTypeFontImporter = 1_042,
MovieImporter = 1_044,
EditorBuildSettings = 1_045,
DDSImporter = 1_046,
InspectorExpandedState = 1_048,
AnnotationManager = 1_049,
PluginImporter = 1_050,
EditorUserBuildSettings = 1_051,
PVRImporter = 1_052,
ASTCImporter = 1_053,
KTXImporter = 1_054,
IHVImageFormatImporter = 1_055,
AnimatorStateTransition = 1_101,
AnimatorState = 1_102,
HumanTemplate = 1_105,
AnimatorStateMachine = 1_107,
PreviewAnimationClip = 1_108,
AnimatorTransition = 1_109,
SpeedTreeImporter = 1_110,
AnimatorTransitionBase = 1_111,
SubstanceImporter = 1_112,
LightmapParameters = 1_113,
LightingDataAsset = 1_120,
GISRaster = 1_121,
GISRasterImporter = 1_122,
CadImporter = 1_123,
SketchUpImporter = 1_124,
BuildReport = 1_125,
PackedAssets = 1_126,
VideoClipImporter = 1_127,
ActivationLogComponent = 2_000,
MonoObject = 100_003,
Collision = 100_004,
Vector3f = 100_005,
RootMotionData = 100_006,
Collision2D = 100_007,
AudioMixerLiveUpdateFloat = 100_008,
AudioMixerLiveUpdateBool = 100_009,
Polygon2D = 100_010,
TilemapCollider2D = 19_719_996,
AssetImporterLog = 41_386_430,
VFXRenderer = 73_398_921,
SerializableManagedRefTestClass = 76_251_197,
Grid = 156_049_354,
ScenesUsingAssets = 156_483_287,
ArticulationBody = 171_741_748,
Preset = 181_963_792,
EmptyObject = 277_625_683,
IConstraint = 285_090_594,
TestObjectWithSpecialLayoutOne = 293_259_124,
AssemblyDefinitionReferenceImporter = 294_290_339,
SiblingDerived = 334_799_969,
TestObjectWithSerializedMapStringNonAlignedStruct = 342_846_651,
SubDerived = 367_388_927,
AssetImportInProgressProxy = 369_655_926,
PluginBuildInfo = 382_020_655,
EditorProjectAccess = 426_301_858,
PrefabImporter = 468_431_735,
TestObjectWithSerializedArray = 478_637_458,
TestObjectWithSerializedAnimationCurve = 478_637_459,
TilemapRenderer = 483_693_784,
ScriptableCamera = 488_575_907,
SpriteAtlasAsset = 612_988_286,
SpriteAtlasDatabase = 638_013_454,
AudioBuildInfo = 641_289_076,
CachedSpriteAtlasRuntimeData = 644_342_135,
RendererFake = 646_504_946,
AssemblyDefinitionReferenceAsset = 662_584_278,
BuiltAssetBundleInfoSet = 668_709_126,
SpriteAtlas = 687_078_895,
RayTracingShaderImporter = 747_330_370,
RayTracingShader = 825_902_497,
LightingSettings = 850_595_691,
PlatformModuleSetup = 877_146_078,
VersionControlSettings = 890_905_787,
AimConstraint = 895_512_359,
VFXManager = 937_362_698,
VisualEffectSubgraph = 994_735_392,
VisualEffectSubgraphOperator = 994_735_403,
VisualEffectSubgraphBlock = 994_735_404,
LocalizationImporter = 1_027_052_791,
Derived = 1_091_556_383,
PropertyModificationsTargetTestObject = 1_111_377_672,
ReferencesArtifactGenerator = 1_114_811_875,
AssemblyDefinitionAsset = 1_152_215_463,
SceneVisibilityState = 1_154_873_562,
LookAtConstraint = 1_183_024_399,
SpriteAtlasImporter = 1_210_832_254,
MultiArtifactTestImporter = 1_223_240_404,
GameObjectRecorder = 1_268_269_756,
LightingDataAssetParent = 1_325_145_578,
PresetManager = 1_386_491_679,
TestObjectWithSpecialLayoutTwo = 1_392_443_030,
StreamingManager = 1_403_656_975,
LowerResBlitTexture = 1_480_428_607,
StreamingController = 1_542_919_678,
RenderPassAttachment = 1_571_458_007,
TestObjectVectorPairStringBool = 1_628_831_178,
GridLayout = 1_742_807_556,
AssemblyDefinitionImporter = 1_766_753_193,
ParentConstraint = 1_773_428_102,
FakeComponent = 1_803_986_026,
PositionConstraint = 1_818_360_608,
RotationConstraint = 1_818_360_609,
ScaleConstraint = 1_818_360_610,
Tilemap = 1_839_735_485,
PackageManifest = 1_896_753_125,
PackageManifestImporter = 1_896_753_126,
TerrainLayer = 1_953_259_897,
SpriteShapeRenderer = 1_971_053_207,
NativeObjectType = 1_977_754_360,
TestObjectWithSerializedMapStringBool = 1_981_279_845,
SerializableManagedHost = 1_995_898_324,
VisualEffectAsset = 2_058_629_509,
VisualEffectImporter = 2_058_629_510,
VisualEffectResource = 2_058_629_511,
VisualEffectObject = 2_059_678_085,
VisualEffect = 2_083_052_967,
LocalizationAsset = 2_083_778_819,
ScriptedImporter = 2_089_858_483,
}Variants§
UnknownType = -1
Object = 0
GameObject = 1
Component = 2
LevelGameManager = 3
Transform = 4
TimeManager = 5
GlobalGameManager = 6
Behaviour = 8
GameManager = 9
AudioManager = 11
ParticleAnimator = 12
InputManager = 13
EllipsoidParticleEmitter = 15
Pipeline = 17
EditorExtension = 18
Physics2DSettings = 19
Camera = 20
Material = 21
MeshRenderer = 23
Renderer = 25
ParticleRenderer = 26
Texture = 27
Texture2D = 28
OcclusionCullingSettings = 29
GraphicsSettings = 30
MeshFilter = 33
OcclusionPortal = 41
Mesh = 43
Skybox = 45
QualitySettings = 47
Shader = 48
TextAsset = 49
Rigidbody2D = 50
Physics2DManager = 51
Collider2D = 53
Rigidbody = 54
PhysicsManager = 55
Collider = 56
Joint = 57
CircleCollider2D = 58
HingeJoint = 59
PolygonCollider2D = 60
BoxCollider2D = 61
PhysicsMaterial2D = 62
MeshCollider = 64
BoxCollider = 65
CompositeCollider2D = 66
EdgeCollider2D = 68
CapsuleCollider2D = 70
ComputeShader = 72
AnimationClip = 74
ConstantForce = 75
WorldParticleCollider = 76
TagManager = 78
AudioListener = 81
AudioSource = 82
AudioClip = 83
RenderTexture = 84
CustomRenderTexture = 86
MeshParticleEmitter = 87
ParticleEmitter = 88
Cubemap = 89
Avatar = 90
AnimatorController = 91
GUILayer = 92
RuntimeAnimatorController = 93
ScriptMapper = 94
Animator = 95
TrailRenderer = 96
DelayedCallManager = 98
TextMesh = 102
RenderSettings = 104
Light = 108
CGProgram = 109
BaseAnimationTrack = 110
Animation = 111
MonoBehaviour = 114
MonoScript = 115
MonoManager = 116
Texture3D = 117
NewAnimationTrack = 118
Projector = 119
LineRenderer = 120
Flare = 121
Halo = 122
LensFlare = 123
FlareLayer = 124
HaloLayer = 125
HaloManager = 127
Font = 128
PlayerSettings = 129
NamedObject = 130
GUITexture = 131
GUIText = 132
GUIElement = 133
PhysicMaterial = 134
SphereCollider = 135
CapsuleCollider = 136
SkinnedMeshRenderer = 137
FixedJoint = 138
RaycastCollider = 140
BuildSettings = 141
AssetBundle = 142
CharacterController = 143
CharacterJoint = 144
SpringJoint = 145
WheelCollider = 146
ResourceManager = 147
NetworkView = 148
NetworkManager = 149
PreloadData = 150
MovieTexture = 152
ConfigurableJoint = 153
TerrainCollider = 154
MasterServerInterface = 155
TerrainData = 156
LightmapSettings = 157
WebCamTexture = 158
EditorSettings = 159
InteractiveCloth = 160
ClothRenderer = 161
EditorUserSettings = 162
SkinnedCloth = 163
AudioReverbFilter = 164
AudioHighPassFilter = 165
AudioChorusFilter = 166
AudioReverbZone = 167
AudioEchoFilter = 168
AudioLowPassFilter = 169
AudioDistortionFilter = 170
SparseTexture = 171
AudioBehaviour = 180
AudioFilter = 181
WindZone = 182
Cloth = 183
SubstanceArchive = 184
ProceduralMaterial = 185
ProceduralTexture = 186
Texture2DArray = 187
CubemapArray = 188
OffMeshLink = 191
OcclusionArea = 192
Tree = 193
LightProbesLegacy = 197
ParticleSystem = 198
ParticleSystemRenderer = 199
ShaderVariantCollection = 200
LODGroup = 205
BlendTree = 206
Motion = 207
SortingGroup = 210
SpriteRenderer = 212
Sprite = 213
CachedSpriteAtlas = 214
ReflectionProbe = 215
ReflectionProbes = 216
Terrain = 218
LightProbeGroup = 220
AnimatorOverrideController = 221
CanvasRenderer = 222
Canvas = 223
RectTransform = 224
CanvasGroup = 225
BillboardAsset = 226
BillboardRenderer = 227
SpeedTreeWindAsset = 228
AnchoredJoint2D = 229
Joint2D = 230
SpringJoint2D = 231
DistanceJoint2D = 232
HingeJoint2D = 233
SliderJoint2D = 234
WheelJoint2D = 235
ClusterInputManager = 236
BaseVideoTexture = 237
AudioMixer = 240
AudioMixerController = 241
AudioMixerGroupController = 243
AudioMixerEffectController = 244
AudioMixerSnapshotController = 245
PhysicsUpdateBehaviour2D = 246
ConstantForce2D = 247
Effector2D = 248
AreaEffector2D = 249
PointEffector2D = 250
PlatformEffector2D = 251
SurfaceEffector2D = 252
BuoyancyEffector2D = 253
RelativeJoint2D = 254
FixedJoint2D = 255
FrictionJoint2D = 256
TargetJoint2D = 257
LightProbes = 258
LightProbeProxyVolume = 259
SampleClip = 271
AudioMixerSnapshot = 272
AudioMixerGroup = 273
NScreenBridge = 280
AssetBundleManifest = 290
UnityAdsManager = 292
RuntimeInitializeOnLoadManager = 300
CloudWebServicesManager = 301
UnityAnalyticsManager = 303
CrashReportManager = 304
PerformanceReportingManager = 305
UnityConnectSettings = 310
AvatarMask = 319
PlayableDirector = 320
VideoPlayer = 328
VideoClip = 329
ParticleSystemForceField = 330
SpriteMask = 331
WorldAnchor = 362
OcclusionCullingData = 363
SmallestEditorClassID = 1_000
PrefabInstance = 1_001
EditorExtensionImpl = 1_002
AssetImporter = 1_003
AssetDatabaseV1 = 1_004
Mesh3DSImporter = 1_005
TextureImporter = 1_006
ShaderImporter = 1_007
ComputeShaderImporter = 1_008
AudioImporter = 1_020
HierarchyState = 1_026
GUIDSerializer = 1_027
AssetMetaData = 1_028
DefaultAsset = 1_029
DefaultImporter = 1_030
TextScriptImporter = 1_031
SceneAsset = 1_032
NativeFormatImporter = 1_034
MonoImporter = 1_035
AssetServerCache = 1_037
LibraryAssetImporter = 1_038
ModelImporter = 1_040
FBXImporter = 1_041
TrueTypeFontImporter = 1_042
MovieImporter = 1_044
EditorBuildSettings = 1_045
DDSImporter = 1_046
InspectorExpandedState = 1_048
AnnotationManager = 1_049
PluginImporter = 1_050
EditorUserBuildSettings = 1_051
PVRImporter = 1_052
ASTCImporter = 1_053
KTXImporter = 1_054
IHVImageFormatImporter = 1_055
AnimatorStateTransition = 1_101
AnimatorState = 1_102
HumanTemplate = 1_105
AnimatorStateMachine = 1_107
PreviewAnimationClip = 1_108
AnimatorTransition = 1_109
SpeedTreeImporter = 1_110
AnimatorTransitionBase = 1_111
SubstanceImporter = 1_112
LightmapParameters = 1_113
LightingDataAsset = 1_120
GISRaster = 1_121
GISRasterImporter = 1_122
CadImporter = 1_123
SketchUpImporter = 1_124
BuildReport = 1_125
PackedAssets = 1_126
VideoClipImporter = 1_127
ActivationLogComponent = 2_000
MonoObject = 100_003
Collision = 100_004
Vector3f = 100_005
RootMotionData = 100_006
Collision2D = 100_007
AudioMixerLiveUpdateFloat = 100_008
AudioMixerLiveUpdateBool = 100_009
Polygon2D = 100_010
TilemapCollider2D = 19_719_996
AssetImporterLog = 41_386_430
VFXRenderer = 73_398_921
SerializableManagedRefTestClass = 76_251_197
Grid = 156_049_354
ScenesUsingAssets = 156_483_287
ArticulationBody = 171_741_748
Preset = 181_963_792
EmptyObject = 277_625_683
IConstraint = 285_090_594
TestObjectWithSpecialLayoutOne = 293_259_124
AssemblyDefinitionReferenceImporter = 294_290_339
SiblingDerived = 334_799_969
TestObjectWithSerializedMapStringNonAlignedStruct = 342_846_651
SubDerived = 367_388_927
AssetImportInProgressProxy = 369_655_926
PluginBuildInfo = 382_020_655
EditorProjectAccess = 426_301_858
PrefabImporter = 468_431_735
TestObjectWithSerializedArray = 478_637_458
TestObjectWithSerializedAnimationCurve = 478_637_459
TilemapRenderer = 483_693_784
ScriptableCamera = 488_575_907
SpriteAtlasAsset = 612_988_286
SpriteAtlasDatabase = 638_013_454
AudioBuildInfo = 641_289_076
CachedSpriteAtlasRuntimeData = 644_342_135
RendererFake = 646_504_946
AssemblyDefinitionReferenceAsset = 662_584_278
BuiltAssetBundleInfoSet = 668_709_126
SpriteAtlas = 687_078_895
RayTracingShaderImporter = 747_330_370
RayTracingShader = 825_902_497
LightingSettings = 850_595_691
PlatformModuleSetup = 877_146_078
VersionControlSettings = 890_905_787
AimConstraint = 895_512_359
VFXManager = 937_362_698
VisualEffectSubgraph = 994_735_392
VisualEffectSubgraphOperator = 994_735_403
VisualEffectSubgraphBlock = 994_735_404
LocalizationImporter = 1_027_052_791
Derived = 1_091_556_383
PropertyModificationsTargetTestObject = 1_111_377_672
ReferencesArtifactGenerator = 1_114_811_875
AssemblyDefinitionAsset = 1_152_215_463
SceneVisibilityState = 1_154_873_562
LookAtConstraint = 1_183_024_399
SpriteAtlasImporter = 1_210_832_254
MultiArtifactTestImporter = 1_223_240_404
GameObjectRecorder = 1_268_269_756
LightingDataAssetParent = 1_325_145_578
PresetManager = 1_386_491_679
TestObjectWithSpecialLayoutTwo = 1_392_443_030
StreamingManager = 1_403_656_975
LowerResBlitTexture = 1_480_428_607
StreamingController = 1_542_919_678
RenderPassAttachment = 1_571_458_007
TestObjectVectorPairStringBool = 1_628_831_178
GridLayout = 1_742_807_556
AssemblyDefinitionImporter = 1_766_753_193
ParentConstraint = 1_773_428_102
FakeComponent = 1_803_986_026
PositionConstraint = 1_818_360_608
RotationConstraint = 1_818_360_609
ScaleConstraint = 1_818_360_610
Tilemap = 1_839_735_485
PackageManifest = 1_896_753_125
PackageManifestImporter = 1_896_753_126
TerrainLayer = 1_953_259_897
SpriteShapeRenderer = 1_971_053_207
NativeObjectType = 1_977_754_360
TestObjectWithSerializedMapStringBool = 1_981_279_845
SerializableManagedHost = 1_995_898_324
VisualEffectAsset = 2_058_629_509
VisualEffectImporter = 2_058_629_510
VisualEffectResource = 2_058_629_511
VisualEffectObject = 2_059_678_085
VisualEffect = 2_083_052_967
LocalizationAsset = 2_083_778_819
ScriptedImporter = 2_089_858_483
Trait Implementations§
Source§impl FromPrimitive for ClassID
impl FromPrimitive for ClassID
impl Eq for ClassID
impl StructuralPartialEq for ClassID
Auto Trait Implementations§
impl Freeze for ClassID
impl RefUnwindSafe for ClassID
impl Send for ClassID
impl Sync for ClassID
impl Unpin for ClassID
impl UnwindSafe for ClassID
Blanket Implementations§
Source§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
Source§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
Source§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
Source§type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
Source§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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
Source§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
Source§impl<T> ConvUtil for T
impl<T> ConvUtil for T
Source§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
Source§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
Approximate the subject to a given type with a specific scheme.
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.