[−][src]Struct gdnative_bindings::BulletPhysicsServer
core class BulletPhysicsServer
inherits PhysicsServer
(unsafe).
Official documentation
See the documentation of this class in the Godot engine's official documentation.
Class hierarchy
BulletPhysicsServer inherits methods from:
Methods
impl BulletPhysicsServer
[src]
pub unsafe fn to_physics_server(&self) -> PhysicsServer
[src]
Up-cast.
pub unsafe fn to_object(&self) -> Object
[src]
Up-cast.
pub unsafe fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Generic dynamic cast.
Methods from Deref<Target = PhysicsServer>
pub const CONE_TWIST_JOINT_SWING_SPAN: i64
[src]
pub const INFO_ISLAND_COUNT: i64
[src]
pub const SHAPE_PLANE: i64
[src]
pub const SLIDER_JOINT_ANGULAR_ORTHOGONAL_RESTITUTION: i64
[src]
pub const AREA_PARAM_LINEAR_DAMP: i64
[src]
pub const SLIDER_JOINT_LINEAR_MOTION_RESTITUTION: i64
[src]
pub const JOINT_HINGE: i64
[src]
pub const G6DOF_JOINT_ANGULAR_MOTOR_TARGET_VELOCITY: i64
[src]
pub const AREA_PARAM_ANGULAR_DAMP: i64
[src]
pub const SLIDER_JOINT_ANGULAR_LIMIT_RESTITUTION: i64
[src]
pub const G6DOF_JOINT_ANGULAR_MOTOR_FORCE_LIMIT: i64
[src]
pub const CONE_TWIST_JOINT_BIAS: i64
[src]
pub const G6DOF_JOINT_ANGULAR_RESTITUTION: i64
[src]
pub const CONE_TWIST_JOINT_TWIST_SPAN: i64
[src]
pub const BODY_STATE_LINEAR_VELOCITY: i64
[src]
pub const G6DOF_JOINT_LINEAR_UPPER_LIMIT: i64
[src]
pub const HINGE_JOINT_FLAG_ENABLE_MOTOR: i64
[src]
pub const BODY_MODE_STATIC: i64
[src]
pub const SPACE_PARAM_BODY_ANGULAR_VELOCITY_DAMP_RATIO: i64
[src]
pub const HINGE_JOINT_BIAS: i64
[src]
pub const SLIDER_JOINT_ANGULAR_LIMIT_DAMPING: i64
[src]
pub const HINGE_JOINT_LIMIT_UPPER: i64
[src]
pub const AREA_PARAM_PRIORITY: i64
[src]
pub const SPACE_PARAM_BODY_MAX_ALLOWED_PENETRATION: i64
[src]
pub const BODY_PARAM_LINEAR_DAMP: i64
[src]
pub const JOINT_6DOF: i64
[src]
pub const SHAPE_BOX: i64
[src]
pub const SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS: i64
[src]
pub const BODY_PARAM_BOUNCE: i64
[src]
pub const G6DOF_JOINT_FLAG_ENABLE_LINEAR_MOTOR: i64
[src]
pub const SPACE_PARAM_CONTACT_RECYCLE_RADIUS: i64
[src]
pub const SHAPE_RAY: i64
[src]
pub const G6DOF_JOINT_FLAG_ENABLE_ANGULAR_LIMIT: i64
[src]
pub const G6DOF_JOINT_LINEAR_MOTOR_FORCE_LIMIT: i64
[src]
pub const SLIDER_JOINT_ANGULAR_LIMIT_SOFTNESS: i64
[src]
pub const CONE_TWIST_JOINT_RELAXATION: i64
[src]
pub const SLIDER_JOINT_ANGULAR_ORTHOGONAL_SOFTNESS: i64
[src]
pub const PIN_JOINT_DAMPING: i64
[src]
pub const AREA_SPACE_OVERRIDE_REPLACE_COMBINE: i64
[src]
pub const BODY_AXIS_LINEAR_Z: i64
[src]
pub const BODY_AXIS_ANGULAR_Z: i64
[src]
pub const AREA_PARAM_GRAVITY_POINT_ATTENUATION: i64
[src]
pub const HINGE_JOINT_LIMIT_RELAXATION: i64
[src]
pub const AREA_PARAM_GRAVITY_VECTOR: i64
[src]
pub const SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD: i64
[src]
pub const SHAPE_SPHERE: i64
[src]
pub const SPACE_PARAM_TEST_MOTION_MIN_CONTACT_DEPTH: i64
[src]
pub const PIN_JOINT_BIAS: i64
[src]
pub const SLIDER_JOINT_ANGULAR_MOTION_SOFTNESS: i64
[src]
pub const SLIDER_JOINT_ANGULAR_LIMIT_LOWER: i64
[src]
pub const SLIDER_JOINT_LINEAR_MOTION_DAMPING: i64
[src]
pub const G6DOF_JOINT_ANGULAR_FORCE_LIMIT: i64
[src]
pub const BODY_STATE_ANGULAR_VELOCITY: i64
[src]
pub const BODY_STATE_SLEEPING: i64
[src]
pub const SLIDER_JOINT_LINEAR_ORTHOGONAL_DAMPING: i64
[src]
pub const PIN_JOINT_IMPULSE_CLAMP: i64
[src]
pub const JOINT_CONE_TWIST: i64
[src]
pub const SLIDER_JOINT_LINEAR_LIMIT_RESTITUTION: i64
[src]
pub const BODY_PARAM_GRAVITY_SCALE: i64
[src]
pub const BODY_STATE_CAN_SLEEP: i64
[src]
pub const CONE_TWIST_JOINT_SOFTNESS: i64
[src]
pub const SLIDER_JOINT_LINEAR_ORTHOGONAL_SOFTNESS: i64
[src]
pub const G6DOF_JOINT_LINEAR_RESTITUTION: i64
[src]
pub const SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD: i64
[src]
pub const INFO_ACTIVE_OBJECTS: i64
[src]
pub const AREA_SPACE_OVERRIDE_COMBINE_REPLACE: i64
[src]
pub const SLIDER_JOINT_ANGULAR_LIMIT_UPPER: i64
[src]
pub const BODY_AXIS_LINEAR_Y: i64
[src]
pub const SLIDER_JOINT_ANGULAR_MOTION_DAMPING: i64
[src]
pub const AREA_BODY_REMOVED: i64
[src]
pub const SLIDER_JOINT_LINEAR_LIMIT_DAMPING: i64
[src]
pub const SLIDER_JOINT_LINEAR_LIMIT_UPPER: i64
[src]
pub const BODY_AXIS_LINEAR_X: i64
[src]
pub const BODY_MODE_CHARACTER: i64
[src]
pub const JOINT_PIN: i64
[src]
pub const G6DOF_JOINT_LINEAR_LOWER_LIMIT: i64
[src]
pub const JOINT_SLIDER: i64
[src]
pub const SPACE_PARAM_CONTACT_MAX_SEPARATION: i64
[src]
pub const BODY_MODE_KINEMATIC: i64
[src]
pub const BODY_PARAM_ANGULAR_DAMP: i64
[src]
pub const G6DOF_JOINT_LINEAR_DAMPING: i64
[src]
pub const AREA_PARAM_GRAVITY: i64
[src]
pub const SHAPE_CONCAVE_POLYGON: i64
[src]
pub const AREA_SPACE_OVERRIDE_COMBINE: i64
[src]
pub const G6DOF_JOINT_ANGULAR_UPPER_LIMIT: i64
[src]
pub const G6DOF_JOINT_ANGULAR_ERP: i64
[src]
pub const HINGE_JOINT_MOTOR_MAX_IMPULSE: i64
[src]
pub const SLIDER_JOINT_LINEAR_ORTHOGONAL_RESTITUTION: i64
[src]
pub const BODY_PARAM_MAX: i64
[src]
pub const SLIDER_JOINT_MAX: i64
[src]
pub const BODY_AXIS_ANGULAR_Y: i64
[src]
pub const BODY_AXIS_ANGULAR_X: i64
[src]
pub const HINGE_JOINT_LIMIT_SOFTNESS: i64
[src]
pub const G6DOF_JOINT_LINEAR_LIMIT_SOFTNESS: i64
[src]
pub const AREA_SPACE_OVERRIDE_DISABLED: i64
[src]
pub const G6DOF_JOINT_ANGULAR_DAMPING: i64
[src]
pub const SHAPE_CAPSULE: i64
[src]
pub const SLIDER_JOINT_ANGULAR_MOTION_RESTITUTION: i64
[src]
pub const BODY_PARAM_FRICTION: i64
[src]
pub const BODY_MODE_RIGID: i64
[src]
pub const INFO_COLLISION_PAIRS: i64
[src]
pub const G6DOF_JOINT_FLAG_ENABLE_LINEAR_LIMIT: i64
[src]
pub const G6DOF_JOINT_ANGULAR_LOWER_LIMIT: i64
[src]
pub const AREA_BODY_ADDED: i64
[src]
pub const HINGE_JOINT_LIMIT_LOWER: i64
[src]
pub const AREA_PARAM_GRAVITY_IS_POINT: i64
[src]
pub const SHAPE_HEIGHTMAP: i64
[src]
pub const HINGE_JOINT_LIMIT_BIAS: i64
[src]
pub const BODY_STATE_TRANSFORM: i64
[src]
pub const G6DOF_JOINT_FLAG_ENABLE_MOTOR: i64
[src]
pub const SHAPE_CONVEX_POLYGON: i64
[src]
pub const SLIDER_JOINT_LINEAR_MOTION_SOFTNESS: i64
[src]
pub const G6DOF_JOINT_LINEAR_MOTOR_TARGET_VELOCITY: i64
[src]
pub const SHAPE_CYLINDER: i64
[src]
pub const SPACE_PARAM_BODY_TIME_TO_SLEEP: i64
[src]
pub const SLIDER_JOINT_LINEAR_LIMIT_LOWER: i64
[src]
pub const HINGE_JOINT_MOTOR_TARGET_VELOCITY: i64
[src]
pub const SHAPE_CUSTOM: i64
[src]
pub const G6DOF_JOINT_ANGULAR_LIMIT_SOFTNESS: i64
[src]
pub const AREA_SPACE_OVERRIDE_REPLACE: i64
[src]
pub const SLIDER_JOINT_LINEAR_LIMIT_SOFTNESS: i64
[src]
pub const AREA_PARAM_GRAVITY_DISTANCE_SCALE: i64
[src]
pub const HINGE_JOINT_FLAG_USE_LIMIT: i64
[src]
pub const SLIDER_JOINT_ANGULAR_ORTHOGONAL_DAMPING: i64
[src]
pub const BODY_PARAM_MASS: i64
[src]
pub fn area_add_shape(&mut self, area: Rid, shape: Rid, transform: Transform)
[src]
pub fn area_attach_object_instance_id(&mut self, area: Rid, id: i64)
[src]
pub fn area_clear_shapes(&mut self, area: Rid)
[src]
pub fn area_create(&mut self) -> Rid
[src]
pub fn area_get_object_instance_id(&self, area: Rid) -> i64
[src]
pub fn area_get_param(&self, area: Rid, param: i64) -> Variant
[src]
pub fn area_get_shape(&self, area: Rid, shape_idx: i64) -> Rid
[src]
pub fn area_get_shape_count(&self, area: Rid) -> i64
[src]
pub fn area_get_shape_transform(&self, area: Rid, shape_idx: i64) -> Transform
[src]
pub fn area_get_space(&self, area: Rid) -> Rid
[src]
pub fn area_get_space_override_mode(
&self,
area: Rid
) -> PhysicsServerAreaSpaceOverrideMode
[src]
&self,
area: Rid
) -> PhysicsServerAreaSpaceOverrideMode
pub fn area_get_transform(&self, area: Rid) -> Transform
[src]
pub fn area_is_ray_pickable(&self, area: Rid) -> bool
[src]
pub fn area_remove_shape(&mut self, area: Rid, shape_idx: i64)
[src]
pub fn area_set_area_monitor_callback(
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString
)
[src]
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString
)
pub fn area_set_collision_layer(&mut self, area: Rid, layer: i64)
[src]
pub fn area_set_collision_mask(&mut self, area: Rid, mask: i64)
[src]
pub fn area_set_monitor_callback(
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString
)
[src]
&mut self,
area: Rid,
receiver: Option<Object>,
method: GodotString
)
pub fn area_set_monitorable(&mut self, area: Rid, monitorable: bool)
[src]
pub fn area_set_param(&mut self, area: Rid, param: i64, value: Variant)
[src]
pub fn area_set_ray_pickable(&mut self, area: Rid, enable: bool)
[src]
pub fn area_set_shape(&mut self, area: Rid, shape_idx: i64, shape: Rid)
[src]
pub fn area_set_shape_transform(
&mut self,
area: Rid,
shape_idx: i64,
transform: Transform
)
[src]
&mut self,
area: Rid,
shape_idx: i64,
transform: Transform
)
pub fn area_set_space(&mut self, area: Rid, space: Rid)
[src]
pub fn area_set_space_override_mode(&mut self, area: Rid, mode: i64)
[src]
pub fn area_set_transform(&mut self, area: Rid, transform: Transform)
[src]
pub fn body_add_central_force(&mut self, body: Rid, force: Vector3)
[src]
pub fn body_add_collision_exception(&mut self, body: Rid, excepted_body: Rid)
[src]
pub fn body_add_force(&mut self, body: Rid, force: Vector3, position: Vector3)
[src]
pub fn body_add_shape(&mut self, body: Rid, shape: Rid, transform: Transform)
[src]
pub fn body_add_torque(&mut self, body: Rid, torque: Vector3)
[src]
pub fn body_apply_central_impulse(&mut self, body: Rid, impulse: Vector3)
[src]
pub fn body_apply_impulse(
&mut self,
body: Rid,
position: Vector3,
impulse: Vector3
)
[src]
&mut self,
body: Rid,
position: Vector3,
impulse: Vector3
)
pub fn body_apply_torque_impulse(&mut self, body: Rid, impulse: Vector3)
[src]
pub fn body_attach_object_instance_id(&mut self, body: Rid, id: i64)
[src]
pub fn body_clear_shapes(&mut self, body: Rid)
[src]
pub fn body_create(&mut self, mode: i64, init_sleeping: bool) -> Rid
[src]
pub fn body_get_collision_layer(&self, body: Rid) -> i64
[src]
pub fn body_get_collision_mask(&self, body: Rid) -> i64
[src]
pub fn body_get_direct_state(
&mut self,
body: Rid
) -> Option<PhysicsDirectBodyState>
[src]
&mut self,
body: Rid
) -> Option<PhysicsDirectBodyState>
pub fn body_get_kinematic_safe_margin(&self, body: Rid) -> f64
[src]
pub fn body_get_max_contacts_reported(&self, body: Rid) -> i64
[src]
pub fn body_get_mode(&self, body: Rid) -> PhysicsServerBodyMode
[src]
pub fn body_get_object_instance_id(&self, body: Rid) -> i64
[src]
pub fn body_get_param(&self, body: Rid, param: i64) -> f64
[src]
pub fn body_get_shape(&self, body: Rid, shape_idx: i64) -> Rid
[src]
pub fn body_get_shape_count(&self, body: Rid) -> i64
[src]
pub fn body_get_shape_transform(&self, body: Rid, shape_idx: i64) -> Transform
[src]
pub fn body_get_space(&self, body: Rid) -> Rid
[src]
pub fn body_get_state(&self, body: Rid, state: i64) -> Variant
[src]
pub fn body_is_axis_locked(&self, body: Rid, axis: i64) -> bool
[src]
pub fn body_is_continuous_collision_detection_enabled(&self, body: Rid) -> bool
[src]
pub fn body_is_omitting_force_integration(&self, body: Rid) -> bool
[src]
pub fn body_is_ray_pickable(&self, body: Rid) -> bool
[src]
pub fn body_remove_collision_exception(&mut self, body: Rid, excepted_body: Rid)
[src]
pub fn body_remove_shape(&mut self, body: Rid, shape_idx: i64)
[src]
pub fn body_set_axis_lock(&mut self, body: Rid, axis: i64, lock: bool)
[src]
pub fn body_set_axis_velocity(&mut self, body: Rid, axis_velocity: Vector3)
[src]
pub fn body_set_collision_layer(&mut self, body: Rid, layer: i64)
[src]
pub fn body_set_collision_mask(&mut self, body: Rid, mask: i64)
[src]
pub fn body_set_enable_continuous_collision_detection(
&mut self,
body: Rid,
enable: bool
)
[src]
&mut self,
body: Rid,
enable: bool
)
pub fn body_set_force_integration_callback(
&mut self,
body: Rid,
receiver: Option<Object>,
method: GodotString,
userdata: Variant
)
[src]
&mut self,
body: Rid,
receiver: Option<Object>,
method: GodotString,
userdata: Variant
)
pub fn body_set_kinematic_safe_margin(&mut self, body: Rid, margin: f64)
[src]
pub fn body_set_max_contacts_reported(&mut self, body: Rid, amount: i64)
[src]
pub fn body_set_mode(&mut self, body: Rid, mode: i64)
[src]
pub fn body_set_omit_force_integration(&mut self, body: Rid, enable: bool)
[src]
pub fn body_set_param(&mut self, body: Rid, param: i64, value: f64)
[src]
pub fn body_set_ray_pickable(&mut self, body: Rid, enable: bool)
[src]
pub fn body_set_shape(&mut self, body: Rid, shape_idx: i64, shape: Rid)
[src]
pub fn body_set_shape_transform(
&mut self,
body: Rid,
shape_idx: i64,
transform: Transform
)
[src]
&mut self,
body: Rid,
shape_idx: i64,
transform: Transform
)
pub fn body_set_space(&mut self, body: Rid, space: Rid)
[src]
pub fn body_set_state(&mut self, body: Rid, state: i64, value: Variant)
[src]
pub fn cone_twist_joint_get_param(&self, joint: Rid, param: i64) -> f64
[src]
pub fn cone_twist_joint_set_param(&mut self, joint: Rid, param: i64, value: f64)
[src]
pub fn free_rid(&mut self, rid: Rid)
[src]
pub fn generic_6dof_joint_get_flag(
&mut self,
joint: Rid,
axis: i64,
flag: i64
) -> bool
[src]
&mut self,
joint: Rid,
axis: i64,
flag: i64
) -> bool
pub fn generic_6dof_joint_get_param(
&mut self,
joint: Rid,
axis: i64,
param: i64
) -> f64
[src]
&mut self,
joint: Rid,
axis: i64,
param: i64
) -> f64
pub fn generic_6dof_joint_set_flag(
&mut self,
joint: Rid,
axis: i64,
flag: i64,
enable: bool
)
[src]
&mut self,
joint: Rid,
axis: i64,
flag: i64,
enable: bool
)
pub fn generic_6dof_joint_set_param(
&mut self,
joint: Rid,
axis: i64,
param: i64,
value: f64
)
[src]
&mut self,
joint: Rid,
axis: i64,
param: i64,
value: f64
)
pub fn get_process_info(&mut self, process_info: i64) -> i64
[src]
pub fn hinge_joint_get_flag(&self, joint: Rid, flag: i64) -> bool
[src]
pub fn hinge_joint_get_param(&self, joint: Rid, param: i64) -> f64
[src]
pub fn hinge_joint_set_flag(&mut self, joint: Rid, flag: i64, enabled: bool)
[src]
pub fn hinge_joint_set_param(&mut self, joint: Rid, param: i64, value: f64)
[src]
pub fn joint_create_cone_twist(
&mut self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
[src]
&mut self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
pub fn joint_create_generic_6dof(
&mut self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
[src]
&mut self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
pub fn joint_create_hinge(
&mut self,
body_A: Rid,
hinge_A: Transform,
body_B: Rid,
hinge_B: Transform
) -> Rid
[src]
&mut self,
body_A: Rid,
hinge_A: Transform,
body_B: Rid,
hinge_B: Transform
) -> Rid
pub fn joint_create_pin(
&mut self,
body_A: Rid,
local_A: Vector3,
body_B: Rid,
local_B: Vector3
) -> Rid
[src]
&mut self,
body_A: Rid,
local_A: Vector3,
body_B: Rid,
local_B: Vector3
) -> Rid
pub fn joint_create_slider(
&mut self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
[src]
&mut self,
body_A: Rid,
local_ref_A: Transform,
body_B: Rid,
local_ref_B: Transform
) -> Rid
pub fn joint_get_solver_priority(&self, joint: Rid) -> i64
[src]
pub fn joint_get_type(&self, joint: Rid) -> PhysicsServerJointType
[src]
pub fn joint_set_solver_priority(&mut self, joint: Rid, priority: i64)
[src]
pub fn pin_joint_get_local_a(&self, joint: Rid) -> Vector3
[src]
pub fn pin_joint_get_local_b(&self, joint: Rid) -> Vector3
[src]
pub fn pin_joint_get_param(&self, joint: Rid, param: i64) -> f64
[src]
pub fn pin_joint_set_local_a(&mut self, joint: Rid, local_A: Vector3)
[src]
pub fn pin_joint_set_local_b(&mut self, joint: Rid, local_B: Vector3)
[src]
pub fn pin_joint_set_param(&mut self, joint: Rid, param: i64, value: f64)
[src]
pub fn set_active(&mut self, active: bool)
[src]
pub fn shape_create(&mut self, _type: i64) -> Rid
[src]
pub fn shape_get_data(&self, shape: Rid) -> Variant
[src]
pub fn shape_get_type(&self, shape: Rid) -> PhysicsServerShapeType
[src]
pub fn shape_set_data(&mut self, shape: Rid, data: Variant)
[src]
pub fn slider_joint_get_param(&self, joint: Rid, param: i64) -> f64
[src]
pub fn slider_joint_set_param(&mut self, joint: Rid, param: i64, value: f64)
[src]
pub fn space_create(&mut self) -> Rid
[src]
pub fn space_get_direct_state(
&mut self,
space: Rid
) -> Option<PhysicsDirectSpaceState>
[src]
&mut self,
space: Rid
) -> Option<PhysicsDirectSpaceState>
pub fn space_get_param(&self, space: Rid, param: i64) -> f64
[src]
pub fn space_is_active(&self, space: Rid) -> bool
[src]
pub fn space_set_active(&mut self, space: Rid, active: bool)
[src]
pub fn space_set_param(&mut self, space: Rid, param: i64, value: f64)
[src]
pub fn to_object(&self) -> Object
[src]
Up-cast.
pub fn cast<T: GodotObject>(&self) -> Option<T>
[src]
Generic dynamic cast.
Trait Implementations
impl Clone for BulletPhysicsServer
[src]
fn clone(&self) -> BulletPhysicsServer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BulletPhysicsServer
[src]
impl Debug for BulletPhysicsServer
[src]
impl Deref for BulletPhysicsServer
[src]
type Target = PhysicsServer
The resulting type after dereferencing.
fn deref(&self) -> &PhysicsServer
[src]
impl DerefMut for BulletPhysicsServer
[src]
fn deref_mut(&mut self) -> &mut PhysicsServer
[src]
impl FromVariant for BulletPhysicsServer
[src]
fn from_variant(variant: &Variant) -> Option<Self>
[src]
impl GodotObject for BulletPhysicsServer
[src]
fn class_name() -> &'static str
[src]
unsafe fn from_sys(obj: *mut godot_object) -> Self
[src]
unsafe fn to_sys(&self) -> *mut godot_object
[src]
impl ToVariant for BulletPhysicsServer
[src]
fn to_variant(&self) -> Variant
[src]
Auto Trait Implementations
impl RefUnwindSafe for BulletPhysicsServer
impl !Send for BulletPhysicsServer
impl !Sync for BulletPhysicsServer
impl Unpin for BulletPhysicsServer
impl UnwindSafe for BulletPhysicsServer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,