LonghandId

Enum LonghandId 

Source
#[repr(u16)]
pub enum LonghandId {
Show 232 variants AlignItems = 0, AlignmentBaseline = 1, AspectRatio = 2, BackfaceVisibility = 3, BaselineSource = 4, BorderCollapse = 5, BorderImageRepeat = 6, BoxSizing = 7, CaptionSide = 8, Clear = 9, ColumnCount = 10, ColumnSpan = 11, Contain = 12, ContainerType = 13, Direction = 14, Display = 15, EmptyCells = 16, FlexDirection = 17, FlexWrap = 18, Float = 19, FontLanguageOverride = 20, FontOpticalSizing = 21, FontStretch = 22, FontStyle = 23, FontSynthesisWeight = 24, FontVariantCaps = 25, FontWeight = 26, GridAutoFlow = 27, ImageRendering = 28, Isolation = 29, JustifyItems = 30, LineBreak = 31, ListStylePosition = 32, MixBlendMode = 33, ObjectFit = 34, Opacity = 35, Order = 36, OutlineStyle = 37, OverflowWrap = 38, PointerEvents = 39, Position = 40, PositionArea = 41, ServoOverflowClipBox = 42, ServoTopLayer = 43, TableLayout = 44, TextAlign = 45, TextAlignLast = 46, TextDecorationLine = 47, TextDecorationStyle = 48, TextJustify = 49, TextRendering = 50, TextTransform = 51, TextWrapMode = 52, TransformStyle = 53, UnicodeBidi = 54, Visibility = 55, WebkitTextSecurity = 56, WhiteSpaceCollapse = 57, WordBreak = 58, WritingMode = 59, ZIndex = 60, Zoom = 61, AlignContent = 62, JustifyContent = 63, FlexGrow = 64, FlexShrink = 65, AlignSelf = 66, JustifySelf = 67, OverflowBlock = 68, OverflowInline = 69, OverflowX = 70, OverflowY = 71, BorderBlockEndStyle = 72, BorderBlockStartStyle = 73, BorderBottomStyle = 74, BorderInlineEndStyle = 75, BorderInlineStartStyle = 76, BorderLeftStyle = 77, BorderRightStyle = 78, BorderTopStyle = 79, AnimationComposition = 80, AnimationDelay = 81, AnimationDirection = 82, AnimationDuration = 83, AnimationFillMode = 84, AnimationIterationCount = 85, AnimationName = 86, AnimationPlayState = 87, AnimationRangeEnd = 88, AnimationRangeStart = 89, AnimationTimeline = 90, AnimationTimingFunction = 91, BackdropFilter = 92, BackgroundAttachment = 93, BackgroundBlendMode = 94, BackgroundClip = 95, BackgroundImage = 96, BackgroundOrigin = 97, BackgroundPositionX = 98, BackgroundPositionY = 99, BackgroundRepeat = 100, BackgroundSize = 101, BaselineShift = 102, BorderImageOutset = 103, BorderImageSlice = 104, BorderImageWidth = 105, BorderSpacing = 106, BoxShadow = 107, CaretColor = 108, Clip = 109, ClipPath = 110, Color = 111, ColorScheme = 112, ColumnWidth = 113, ContainerName = 114, Content = 115, CounterIncrement = 116, CounterReset = 117, Cursor = 118, Filter = 119, FlexBasis = 120, FontFamily = 121, FontSize = 122, FontVariationSettings = 123, GridTemplateAreas = 124, LetterSpacing = 125, LineHeight = 126, ListStyleType = 127, MaskImage = 128, OffsetPath = 129, OutlineOffset = 130, OverflowClipMargin = 131, Perspective = 132, PositionTryFallbacks = 133, Quotes = 134, Rotate = 135, Scale = 136, TabSize = 137, TextIndent = 138, TextOverflow = 139, TextShadow = 140, Transform = 141, TransformOrigin = 142, TransitionBehavior = 143, TransitionDelay = 144, TransitionDuration = 145, TransitionProperty = 146, TransitionTimingFunction = 147, Translate = 148, ViewTransitionClass = 149, ViewTransitionName = 150, WillChange = 151, WordSpacing = 152, XLang = 153, ObjectPosition = 154, PerspectiveOrigin = 155, GridTemplateColumns = 156, GridTemplateRows = 157, BorderImageSource = 158, ListStyleImage = 159, GridAutoColumns = 160, GridAutoRows = 161, ColumnGap = 162, RowGap = 163, GridColumnEnd = 164, GridColumnStart = 165, GridRowEnd = 166, GridRowStart = 167, MaxBlockSize = 168, MaxHeight = 169, MaxInlineSize = 170, MaxWidth = 171, BorderBottomLeftRadius = 172, BorderBottomRightRadius = 173, BorderEndEndRadius = 174, BorderEndStartRadius = 175, BorderStartEndRadius = 176, BorderStartStartRadius = 177, BorderTopLeftRadius = 178, BorderTopRightRadius = 179, Bottom = 180, InsetBlockEnd = 181, InsetBlockStart = 182, InsetInlineEnd = 183, InsetInlineStart = 184, Left = 185, Right = 186, Top = 187, MarginBlockEnd = 188, MarginBlockStart = 189, MarginBottom = 190, MarginInlineEnd = 191, MarginInlineStart = 192, MarginLeft = 193, MarginRight = 194, MarginTop = 195, PaddingBlockEnd = 196, PaddingBlockStart = 197, PaddingBottom = 198, PaddingInlineEnd = 199, PaddingInlineStart = 200, PaddingLeft = 201, PaddingRight = 202, PaddingTop = 203, BlockSize = 204, Height = 205, InlineSize = 206, MinBlockSize = 207, MinHeight = 208, MinInlineSize = 209, MinWidth = 210, Width = 211, BorderBlockEndWidth = 212, BorderBlockStartWidth = 213, BorderBottomWidth = 214, BorderInlineEndWidth = 215, BorderInlineStartWidth = 216, BorderLeftWidth = 217, BorderRightWidth = 218, BorderTopWidth = 219, OutlineWidth = 220, BackgroundColor = 221, BorderBlockEndColor = 222, BorderBlockStartColor = 223, BorderBottomColor = 224, BorderInlineEndColor = 225, BorderInlineStartColor = 226, BorderLeftColor = 227, BorderRightColor = 228, BorderTopColor = 229, OutlineColor = 230, TextDecorationColor = 231,
}
Expand description

An identifier for a given longhand property.

Variants§

§

AlignItems = 0

align-items

§

AlignmentBaseline = 1

alignment-baseline

§

AspectRatio = 2

aspect-ratio

§

BackfaceVisibility = 3

backface-visibility

§

BaselineSource = 4

baseline-source

§

BorderCollapse = 5

border-collapse

§

BorderImageRepeat = 6

border-image-repeat

§

BoxSizing = 7

box-sizing

§

CaptionSide = 8

caption-side

§

Clear = 9

clear

§

ColumnCount = 10

column-count

§

ColumnSpan = 11

column-span

§

Contain = 12

contain

§

ContainerType = 13

container-type

§

Direction = 14

direction

§

Display = 15

display

§

EmptyCells = 16

empty-cells

§

FlexDirection = 17

flex-direction

§

FlexWrap = 18

flex-wrap

§

Float = 19

float

§

FontLanguageOverride = 20

font-language-override

§

FontOpticalSizing = 21

font-optical-sizing

§

FontStretch = 22

font-stretch

§

FontStyle = 23

font-style

§

FontSynthesisWeight = 24

font-synthesis-weight

§

FontVariantCaps = 25

font-variant-caps

§

FontWeight = 26

font-weight

§

GridAutoFlow = 27

grid-auto-flow

§

ImageRendering = 28

image-rendering

§

Isolation = 29

isolation

§

JustifyItems = 30

justify-items

§

LineBreak = 31

line-break

§

ListStylePosition = 32

list-style-position

§

MixBlendMode = 33

mix-blend-mode

§

ObjectFit = 34

object-fit

§

Opacity = 35

opacity

§

Order = 36

order

§

OutlineStyle = 37

outline-style

§

OverflowWrap = 38

overflow-wrap

§

PointerEvents = 39

pointer-events

§

Position = 40

position

§

PositionArea = 41

position-area

§

ServoOverflowClipBox = 42

-servo-overflow-clip-box

§

ServoTopLayer = 43

-servo-top-layer

§

TableLayout = 44

table-layout

§

TextAlign = 45

text-align

§

TextAlignLast = 46

text-align-last

§

TextDecorationLine = 47

text-decoration-line

§

TextDecorationStyle = 48

text-decoration-style

§

TextJustify = 49

text-justify

§

TextRendering = 50

text-rendering

§

TextTransform = 51

text-transform

§

TextWrapMode = 52

text-wrap-mode

§

TransformStyle = 53

transform-style

§

UnicodeBidi = 54

unicode-bidi

§

Visibility = 55

visibility

§

WebkitTextSecurity = 56

-webkit-text-security

§

WhiteSpaceCollapse = 57

white-space-collapse

§

WordBreak = 58

word-break

§

WritingMode = 59

writing-mode

§

ZIndex = 60

z-index

§

Zoom = 61

zoom

§

AlignContent = 62

align-content

§

JustifyContent = 63

justify-content

§

FlexGrow = 64

flex-grow

§

FlexShrink = 65

flex-shrink

§

AlignSelf = 66

align-self

§

JustifySelf = 67

justify-self

§

OverflowBlock = 68

overflow-block

§

OverflowInline = 69

overflow-inline

§

OverflowX = 70

overflow-x

§

OverflowY = 71

overflow-y

§

BorderBlockEndStyle = 72

border-block-end-style

§

BorderBlockStartStyle = 73

border-block-start-style

§

BorderBottomStyle = 74

border-bottom-style

§

BorderInlineEndStyle = 75

border-inline-end-style

§

BorderInlineStartStyle = 76

border-inline-start-style

§

BorderLeftStyle = 77

border-left-style

§

BorderRightStyle = 78

border-right-style

§

BorderTopStyle = 79

border-top-style

§

AnimationComposition = 80

animation-composition

§

AnimationDelay = 81

animation-delay

§

AnimationDirection = 82

animation-direction

§

AnimationDuration = 83

animation-duration

§

AnimationFillMode = 84

animation-fill-mode

§

AnimationIterationCount = 85

animation-iteration-count

§

AnimationName = 86

animation-name

§

AnimationPlayState = 87

animation-play-state

§

AnimationRangeEnd = 88

animation-range-end

§

AnimationRangeStart = 89

animation-range-start

§

AnimationTimeline = 90

animation-timeline

§

AnimationTimingFunction = 91

animation-timing-function

§

BackdropFilter = 92

backdrop-filter

§

BackgroundAttachment = 93

background-attachment

§

BackgroundBlendMode = 94

background-blend-mode

§

BackgroundClip = 95

background-clip

§

BackgroundImage = 96

background-image

§

BackgroundOrigin = 97

background-origin

§

BackgroundPositionX = 98

background-position-x

§

BackgroundPositionY = 99

background-position-y

§

BackgroundRepeat = 100

background-repeat

§

BackgroundSize = 101

background-size

§

BaselineShift = 102

baseline-shift

§

BorderImageOutset = 103

border-image-outset

§

BorderImageSlice = 104

border-image-slice

§

BorderImageWidth = 105

border-image-width

§

BorderSpacing = 106

border-spacing

§

BoxShadow = 107

box-shadow

§

CaretColor = 108

caret-color

§

Clip = 109

clip

§

ClipPath = 110

clip-path

§

Color = 111

color

§

ColorScheme = 112

color-scheme

§

ColumnWidth = 113

column-width

§

ContainerName = 114

container-name

§

Content = 115

content

§

CounterIncrement = 116

counter-increment

§

CounterReset = 117

counter-reset

§

Cursor = 118

cursor

§

Filter = 119

filter

§

FlexBasis = 120

flex-basis

§

FontFamily = 121

font-family

§

FontSize = 122

font-size

§

FontVariationSettings = 123

font-variation-settings

§

GridTemplateAreas = 124

grid-template-areas

§

LetterSpacing = 125

letter-spacing

§

LineHeight = 126

line-height

§

ListStyleType = 127

list-style-type

§

MaskImage = 128

mask-image

§

OffsetPath = 129

offset-path

§

OutlineOffset = 130

outline-offset

§

OverflowClipMargin = 131

overflow-clip-margin

§

Perspective = 132

perspective

§

PositionTryFallbacks = 133

position-try-fallbacks

§

Quotes = 134

quotes

§

Rotate = 135

rotate

§

Scale = 136

scale

§

TabSize = 137

tab-size

§

TextIndent = 138

text-indent

§

TextOverflow = 139

text-overflow

§

TextShadow = 140

text-shadow

§

Transform = 141

transform

§

TransformOrigin = 142

transform-origin

§

TransitionBehavior = 143

transition-behavior

§

TransitionDelay = 144

transition-delay

§

TransitionDuration = 145

transition-duration

§

TransitionProperty = 146

transition-property

§

TransitionTimingFunction = 147

transition-timing-function

§

Translate = 148

translate

§

ViewTransitionClass = 149

view-transition-class

§

ViewTransitionName = 150

view-transition-name

§

WillChange = 151

will-change

§

WordSpacing = 152

word-spacing

§

XLang = 153

-x-lang

§

ObjectPosition = 154

object-position

§

PerspectiveOrigin = 155

perspective-origin

§

GridTemplateColumns = 156

grid-template-columns

§

GridTemplateRows = 157

grid-template-rows

§

BorderImageSource = 158

border-image-source

§

ListStyleImage = 159

list-style-image

§

GridAutoColumns = 160

grid-auto-columns

§

GridAutoRows = 161

grid-auto-rows

§

ColumnGap = 162

column-gap

§

RowGap = 163

row-gap

§

GridColumnEnd = 164

grid-column-end

§

GridColumnStart = 165

grid-column-start

§

GridRowEnd = 166

grid-row-end

§

GridRowStart = 167

grid-row-start

§

MaxBlockSize = 168

max-block-size

§

MaxHeight = 169

max-height

§

MaxInlineSize = 170

max-inline-size

§

MaxWidth = 171

max-width

§

BorderBottomLeftRadius = 172

border-bottom-left-radius

§

BorderBottomRightRadius = 173

border-bottom-right-radius

§

BorderEndEndRadius = 174

border-end-end-radius

§

BorderEndStartRadius = 175

border-end-start-radius

§

BorderStartEndRadius = 176

border-start-end-radius

§

BorderStartStartRadius = 177

border-start-start-radius

§

BorderTopLeftRadius = 178

border-top-left-radius

§

BorderTopRightRadius = 179

border-top-right-radius

§

Bottom = 180

bottom

§

InsetBlockEnd = 181

inset-block-end

§

InsetBlockStart = 182

inset-block-start

§

InsetInlineEnd = 183

inset-inline-end

§

InsetInlineStart = 184

inset-inline-start

§

Left = 185

left

§

Right = 186

right

§

Top = 187

top

§

MarginBlockEnd = 188

margin-block-end

§

MarginBlockStart = 189

margin-block-start

§

MarginBottom = 190

margin-bottom

§

MarginInlineEnd = 191

margin-inline-end

§

MarginInlineStart = 192

margin-inline-start

§

MarginLeft = 193

margin-left

§

MarginRight = 194

margin-right

§

MarginTop = 195

margin-top

§

PaddingBlockEnd = 196

padding-block-end

§

PaddingBlockStart = 197

padding-block-start

§

PaddingBottom = 198

padding-bottom

§

PaddingInlineEnd = 199

padding-inline-end

§

PaddingInlineStart = 200

padding-inline-start

§

PaddingLeft = 201

padding-left

§

PaddingRight = 202

padding-right

§

PaddingTop = 203

padding-top

§

BlockSize = 204

block-size

§

Height = 205

height

§

InlineSize = 206

inline-size

§

MinBlockSize = 207

min-block-size

§

MinHeight = 208

min-height

§

MinInlineSize = 209

min-inline-size

§

MinWidth = 210

min-width

§

Width = 211

width

§

BorderBlockEndWidth = 212

border-block-end-width

§

BorderBlockStartWidth = 213

border-block-start-width

§

BorderBottomWidth = 214

border-bottom-width

§

BorderInlineEndWidth = 215

border-inline-end-width

§

BorderInlineStartWidth = 216

border-inline-start-width

§

BorderLeftWidth = 217

border-left-width

§

BorderRightWidth = 218

border-right-width

§

BorderTopWidth = 219

border-top-width

§

OutlineWidth = 220

outline-width

§

BackgroundColor = 221

background-color

§

BorderBlockEndColor = 222

border-block-end-color

§

BorderBlockStartColor = 223

border-block-start-color

§

BorderBottomColor = 224

border-bottom-color

§

BorderInlineEndColor = 225

border-inline-end-color

§

BorderInlineStartColor = 226

border-inline-start-color

§

BorderLeftColor = 227

border-left-color

§

BorderRightColor = 228

border-right-color

§

BorderTopColor = 229

border-top-color

§

OutlineColor = 230

outline-color

§

TextDecorationColor = 231

text-decoration-color

Implementations§

Source§

impl LonghandId

Source

pub fn shorthands(self) -> NonCustomPropertyIterator<ShorthandId>

Returns an iterator over all the shorthands that include this longhand.

Source

pub(super) fn parse_value<'i, 't>( self, context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<PropertyDeclaration, ParseError<'i>>

Source

fn logical_mapping_data(self) -> Option<&'static LogicalMappingData>

Return the relevant data to map a particular logical property into physical.

Source

pub fn to_physical(self, wm: WritingMode) -> Self

If this is a logical property, return the corresponding physical one in the given writing mode. Otherwise, return unchanged.

Source

pub fn logical_group(self) -> Option<LogicalGroupId>

Return the logical group of this longhand property.

Source

pub fn flags(self) -> PropertyFlags

Returns PropertyFlags for given longhand property.

Source§

impl LonghandId

Source

pub fn name(&self) -> &'static str

Get the name of this longhand property.

Source

pub fn inherited(self) -> bool

Returns whether the longhand property is inherited by default.

Source

pub fn zoom_dependent(self) -> bool

Returns whether the longhand property is zoom-dependent.

Source

pub fn ignored_when_document_colors_disabled(self) -> bool

Returns true if the property is one that is ignored when document colors are disabled.

Source

pub fn is_or_is_longhand_of(self, non_custom: NonCustomPropertyId) -> bool

Returns whether this longhand is non_custom or is a longhand of it.

Source

pub fn is_longhand_of(self, shorthand: ShorthandId) -> bool

Returns whether this longhand is a longhand of shorthand.

Source

pub fn is_animatable(self) -> bool

Returns whether this property is animatable.

Source

pub fn is_discrete_animatable(self) -> bool

Returns whether this property is animatable in a discrete way.

Source

pub fn is_logical(self) -> bool

Return whether this property is logical.

Trait Implementations§

Source§

impl Clone for LonghandId

Source§

fn clone(&self) -> LonghandId

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LonghandId

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<LonghandId> for NonCustomPropertyId

Source§

fn from(id: LonghandId) -> Self

Converts to this type from the input type.
Source§

impl Hash for LonghandId

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl MallocSizeOf for LonghandId

Source§

fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself.
Source§

impl PartialEq for LonghandId

Source§

fn eq(&self, other: &LonghandId) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl ToComputedValue for LonghandId

Source§

type ComputedValue = LonghandId

The computed value type we’re going to be converted to.
Source§

fn from_computed_value(from: &Self::ComputedValue) -> Self

Convert a computed value to specified value form. Read more
Source§

fn to_computed_value(&self, context: &Context<'_>) -> Self::ComputedValue

Convert a specified value to a computed value, using itself and the data inside the Context.
Source§

impl ToCss for LonghandId

Source§

fn to_css<W>(&self, dest: &mut CssWriter<'_, W>) -> Result
where W: Write,

Serialize self in CSS syntax, writing to dest.
Source§

fn to_css_string(&self) -> String

Serialize self in CSS syntax and return a string. Read more
Source§

fn to_css_cssstring(&self) -> String

Serialize self in CSS syntax and return a CssString. Read more
Source§

impl ToResolvedValue for LonghandId

Source§

type ResolvedValue = LonghandId

The resolved value type we’re going to be converted to.
Source§

fn from_resolved_value(from: Self::ResolvedValue) -> Self

Convert a resolved value to resolved value form.
Source§

fn to_resolved_value(self, context: &Context<'_>) -> Self::ResolvedValue

Convert a resolved value to a resolved value.
Source§

impl ToShmem for LonghandId

Source§

fn to_shmem(&self, builder: &mut SharedMemoryBuilder) -> Result<Self>

Clones this value into a form suitable for writing into a SharedMemoryBuilder. Read more
Source§

impl Copy for LonghandId

Source§

impl Eq for LonghandId

Source§

impl StructuralPartialEq for LonghandId

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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 more
Source§

impl<T> MaybeBoxed<Box<T>> for T

Source§

fn maybe_boxed(self) -> Box<T>

Convert
Source§

impl<T> MaybeBoxed<T> for T

Source§

fn maybe_boxed(self) -> T

Convert
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T