Enum NoScriptChild

Source
pub enum NoScriptChild {
Show 113 variants Abbreviation(Abbreviation), Address(Address), Anchor(Anchor), Article(Article), Aside(Aside), Audio(Audio), Base(Base), BidirectionalIsolate(BidirectionalIsolate), BidirectionalTextOverride(BidirectionalTextOverride), BlockQuote(BlockQuote), Body(Body), Bold(Bold), Button(Button), Canvas(Canvas), Caption(Caption), Cite(Cite), Code(Code), Data(Data), DataList(DataList), Definition(Definition), DeletedText(DeletedText), DescriptionDetails(DescriptionDetails), DescriptionList(DescriptionList), DescriptionTerm(DescriptionTerm), Details(Details), Dialog(Dialog), Division(Division), Embed(Embed), Emphasis(Emphasis), Fieldset(Fieldset), Figure(Figure), FigureCaption(FigureCaption), Footer(Footer), Form(Form), Head(Head), Header(Header), Heading1(Heading1), Heading2(Heading2), Heading3(Heading3), Heading4(Heading4), Heading5(Heading5), Heading6(Heading6), HeadingGroup(HeadingGroup), Html(Html), Iframe(Iframe), Image(Image), ImageMap(ImageMap), ImageMapArea(ImageMapArea), Input(Input), InsertedText(InsertedText), Italic(Italic), KeyboardInput(KeyboardInput), Label(Label), Legend(Legend), LineBreak(LineBreak), LineBreakOpportunity(LineBreakOpportunity), Link(Link), ListItem(ListItem), Main(Main), MarkText(MarkText), MediaSource(MediaSource), Menu(Menu), Meta(Meta), Meter(Meter), Navigation(Navigation), NoScript(NoScript), Object(Object), Option(Option), OptionGroup(OptionGroup), OrderedList(OrderedList), Output(Output), Paragraph(Paragraph), Picture(Picture), PreformattedText(PreformattedText), Progress(Progress), Quotation(Quotation), RubyAnnotation(RubyAnnotation), RubyFallbackParenthesis(RubyFallbackParenthesis), RubyText(RubyText), SampleOutput(SampleOutput), Script(Script), Search(Search), Section(Section), Select(Select), SideComment(SideComment), Slot(Slot), Span(Span), StrikeThrough(StrikeThrough), Strong(Strong), Style(Style), SubScript(SubScript), Summary(Summary), SuperScript(SuperScript), Table(Table), TableBody(TableBody), TableCell(TableCell), TableColumn(TableColumn), TableColumnGroup(TableColumnGroup), TableFoot(TableFoot), TableHead(TableHead), TableHeader(TableHeader), TableRow(TableRow), Template(Template), Text(Cow<'static, str>), TextArea(TextArea), TextTrack(TextTrack), ThematicBreak(ThematicBreak), Time(Time), Title(Title), Underline(Underline), UnorderedList(UnorderedList), Variable(Variable), Video(Video),
}
Expand description

The permitted child items for the NoScript element

Variants§

§

Abbreviation(Abbreviation)

The Abbreviation element

§

Address(Address)

The Address element

§

Anchor(Anchor)

The Anchor element

§

Article(Article)

The Article element

§

Aside(Aside)

The Aside element

§

Audio(Audio)

The Audio element

§

Base(Base)

The Base element

§

BidirectionalIsolate(BidirectionalIsolate)

The BidirectionalIsolate element

§

BidirectionalTextOverride(BidirectionalTextOverride)

The BidirectionalTextOverride element

§

BlockQuote(BlockQuote)

The BlockQuote element

§

Body(Body)

The Body element

§

Bold(Bold)

The Bold element

§

Button(Button)

The Button element

§

Canvas(Canvas)

The Canvas element

§

Caption(Caption)

The Caption element

§

Cite(Cite)

The Cite element

§

Code(Code)

The Code element

§

Data(Data)

The Data element

§

DataList(DataList)

The DataList element

§

Definition(Definition)

The Definition element

§

DeletedText(DeletedText)

The DeletedText element

§

DescriptionDetails(DescriptionDetails)

The DescriptionDetails element

§

DescriptionList(DescriptionList)

The DescriptionList element

§

DescriptionTerm(DescriptionTerm)

The DescriptionTerm element

§

Details(Details)

The Details element

§

Dialog(Dialog)

The Dialog element

§

Division(Division)

The Division element

§

Embed(Embed)

The Embed element

§

Emphasis(Emphasis)

The Emphasis element

§

Fieldset(Fieldset)

The Fieldset element

§

Figure(Figure)

The Figure element

§

FigureCaption(FigureCaption)

The FigureCaption element

§

Footer(Footer)

The Footer element

§

Form(Form)

The Form element

§

Head(Head)

The Head element

§

Header(Header)

The Header element

§

Heading1(Heading1)

The Heading1 element

§

Heading2(Heading2)

The Heading2 element

§

Heading3(Heading3)

The Heading3 element

§

Heading4(Heading4)

The Heading4 element

§

Heading5(Heading5)

The Heading5 element

§

Heading6(Heading6)

The Heading6 element

§

HeadingGroup(HeadingGroup)

The HeadingGroup element

§

Html(Html)

The Html element

§

Iframe(Iframe)

The Iframe element

§

Image(Image)

The Image element

§

ImageMap(ImageMap)

The ImageMap element

§

ImageMapArea(ImageMapArea)

The ImageMapArea element

§

Input(Input)

The Input element

§

InsertedText(InsertedText)

The InsertedText element

§

Italic(Italic)

The Italic element

§

KeyboardInput(KeyboardInput)

The KeyboardInput element

§

Label(Label)

The Label element

§

Legend(Legend)

The Legend element

§

LineBreak(LineBreak)

The LineBreak element

§

LineBreakOpportunity(LineBreakOpportunity)

The LineBreakOpportunity element

The Link element

§

ListItem(ListItem)

The ListItem element

§

Main(Main)

The Main element

§

MarkText(MarkText)

The MarkText element

§

MediaSource(MediaSource)

The MediaSource element

§

Menu(Menu)

The Menu element

§

Meta(Meta)

The Meta element

§

Meter(Meter)

The Meter element

§

Navigation(Navigation)

The Navigation element

§

NoScript(NoScript)

The NoScript element

§

Object(Object)

The Object element

§

Option(Option)

The Option element

§

OptionGroup(OptionGroup)

The OptionGroup element

§

OrderedList(OrderedList)

The OrderedList element

§

Output(Output)

The Output element

§

Paragraph(Paragraph)

The Paragraph element

§

Picture(Picture)

The Picture element

§

PreformattedText(PreformattedText)

The PreformattedText element

§

Progress(Progress)

The Progress element

§

Quotation(Quotation)

The Quotation element

§

RubyAnnotation(RubyAnnotation)

The RubyAnnotation element

§

RubyFallbackParenthesis(RubyFallbackParenthesis)

The RubyFallbackParenthesis element

§

RubyText(RubyText)

The RubyText element

§

SampleOutput(SampleOutput)

The SampleOutput element

§

Script(Script)

The Script element

§

Search(Search)

The Search element

§

Section(Section)

The Section element

§

Select(Select)

The Select element

§

SideComment(SideComment)

The SideComment element

§

Slot(Slot)

The Slot element

§

Span(Span)

The Span element

§

StrikeThrough(StrikeThrough)

The StrikeThrough element

§

Strong(Strong)

The Strong element

§

Style(Style)

The Style element

§

SubScript(SubScript)

The SubScript element

§

Summary(Summary)

The Summary element

§

SuperScript(SuperScript)

The SuperScript element

§

Table(Table)

The Table element

§

TableBody(TableBody)

The TableBody element

§

TableCell(TableCell)

The TableCell element

§

TableColumn(TableColumn)

The TableColumn element

§

TableColumnGroup(TableColumnGroup)

The TableColumnGroup element

§

TableFoot(TableFoot)

The TableFoot element

§

TableHead(TableHead)

The TableHead element

§

TableHeader(TableHeader)

The TableHeader element

§

TableRow(TableRow)

The TableRow element

§

Template(Template)

The Template element

§

Text(Cow<'static, str>)

The Text element

§

TextArea(TextArea)

The TextArea element

§

TextTrack(TextTrack)

The TextTrack element

§

ThematicBreak(ThematicBreak)

The ThematicBreak element

§

Time(Time)

The Time element

§

Title(Title)

The Title element

§

Underline(Underline)

The Underline element

§

UnorderedList(UnorderedList)

The UnorderedList element

§

Variable(Variable)

The Variable element

§

Video(Video)

The Video element

Trait Implementations§

Source§

impl Clone for NoScriptChild

Source§

fn clone(&self) -> NoScriptChild

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 NoScriptChild

Source§

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

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

impl Display for NoScriptChild

Source§

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

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

impl From<&'static str> for NoScriptChild

Source§

fn from(value: &'static str) -> Self

Converts to this type from the input type.
Source§

impl From<Abbreviation> for NoScriptChild

Source§

fn from(value: Abbreviation) -> Self

Converts to this type from the input type.
Source§

impl From<Address> for NoScriptChild

Source§

fn from(value: Address) -> Self

Converts to this type from the input type.
Source§

impl From<Anchor> for NoScriptChild

Source§

fn from(value: Anchor) -> Self

Converts to this type from the input type.
Source§

impl From<Article> for NoScriptChild

Source§

fn from(value: Article) -> Self

Converts to this type from the input type.
Source§

impl From<Aside> for NoScriptChild

Source§

fn from(value: Aside) -> Self

Converts to this type from the input type.
Source§

impl From<Audio> for NoScriptChild

Source§

fn from(value: Audio) -> Self

Converts to this type from the input type.
Source§

impl From<Base> for NoScriptChild

Source§

fn from(value: Base) -> Self

Converts to this type from the input type.
Source§

impl From<BidirectionalIsolate> for NoScriptChild

Source§

fn from(value: BidirectionalIsolate) -> Self

Converts to this type from the input type.
Source§

impl From<BidirectionalTextOverride> for NoScriptChild

Source§

fn from(value: BidirectionalTextOverride) -> Self

Converts to this type from the input type.
Source§

impl From<BlockQuote> for NoScriptChild

Source§

fn from(value: BlockQuote) -> Self

Converts to this type from the input type.
Source§

impl From<Body> for NoScriptChild

Source§

fn from(value: Body) -> Self

Converts to this type from the input type.
Source§

impl From<Bold> for NoScriptChild

Source§

fn from(value: Bold) -> Self

Converts to this type from the input type.
Source§

impl From<Button> for NoScriptChild

Source§

fn from(value: Button) -> Self

Converts to this type from the input type.
Source§

impl From<Canvas> for NoScriptChild

Source§

fn from(value: Canvas) -> Self

Converts to this type from the input type.
Source§

impl From<Caption> for NoScriptChild

Source§

fn from(value: Caption) -> Self

Converts to this type from the input type.
Source§

impl From<Cite> for NoScriptChild

Source§

fn from(value: Cite) -> Self

Converts to this type from the input type.
Source§

impl From<Code> for NoScriptChild

Source§

fn from(value: Code) -> Self

Converts to this type from the input type.
Source§

impl From<Cow<'static, str>> for NoScriptChild

Source§

fn from(value: Cow<'static, str>) -> Self

Converts to this type from the input type.
Source§

impl From<Data> for NoScriptChild

Source§

fn from(value: Data) -> Self

Converts to this type from the input type.
Source§

impl From<DataList> for NoScriptChild

Source§

fn from(value: DataList) -> Self

Converts to this type from the input type.
Source§

impl From<Definition> for NoScriptChild

Source§

fn from(value: Definition) -> Self

Converts to this type from the input type.
Source§

impl From<DeletedText> for NoScriptChild

Source§

fn from(value: DeletedText) -> Self

Converts to this type from the input type.
Source§

impl From<DescriptionDetails> for NoScriptChild

Source§

fn from(value: DescriptionDetails) -> Self

Converts to this type from the input type.
Source§

impl From<DescriptionList> for NoScriptChild

Source§

fn from(value: DescriptionList) -> Self

Converts to this type from the input type.
Source§

impl From<DescriptionTerm> for NoScriptChild

Source§

fn from(value: DescriptionTerm) -> Self

Converts to this type from the input type.
Source§

impl From<Details> for NoScriptChild

Source§

fn from(value: Details) -> Self

Converts to this type from the input type.
Source§

impl From<Dialog> for NoScriptChild

Source§

fn from(value: Dialog) -> Self

Converts to this type from the input type.
Source§

impl From<Division> for NoScriptChild

Source§

fn from(value: Division) -> Self

Converts to this type from the input type.
Source§

impl From<Embed> for NoScriptChild

Source§

fn from(value: Embed) -> Self

Converts to this type from the input type.
Source§

impl From<Emphasis> for NoScriptChild

Source§

fn from(value: Emphasis) -> Self

Converts to this type from the input type.
Source§

impl From<Fieldset> for NoScriptChild

Source§

fn from(value: Fieldset) -> Self

Converts to this type from the input type.
Source§

impl From<Figure> for NoScriptChild

Source§

fn from(value: Figure) -> Self

Converts to this type from the input type.
Source§

impl From<FigureCaption> for NoScriptChild

Source§

fn from(value: FigureCaption) -> Self

Converts to this type from the input type.
Source§

impl From<Footer> for NoScriptChild

Source§

fn from(value: Footer) -> Self

Converts to this type from the input type.
Source§

impl From<Form> for NoScriptChild

Source§

fn from(value: Form) -> Self

Converts to this type from the input type.
Source§

impl From<Head> for NoScriptChild

Source§

fn from(value: Head) -> Self

Converts to this type from the input type.
Source§

impl From<Header> for NoScriptChild

Source§

fn from(value: Header) -> Self

Converts to this type from the input type.
Source§

impl From<Heading1> for NoScriptChild

Source§

fn from(value: Heading1) -> Self

Converts to this type from the input type.
Source§

impl From<Heading2> for NoScriptChild

Source§

fn from(value: Heading2) -> Self

Converts to this type from the input type.
Source§

impl From<Heading3> for NoScriptChild

Source§

fn from(value: Heading3) -> Self

Converts to this type from the input type.
Source§

impl From<Heading4> for NoScriptChild

Source§

fn from(value: Heading4) -> Self

Converts to this type from the input type.
Source§

impl From<Heading5> for NoScriptChild

Source§

fn from(value: Heading5) -> Self

Converts to this type from the input type.
Source§

impl From<Heading6> for NoScriptChild

Source§

fn from(value: Heading6) -> Self

Converts to this type from the input type.
Source§

impl From<HeadingGroup> for NoScriptChild

Source§

fn from(value: HeadingGroup) -> Self

Converts to this type from the input type.
Source§

impl From<Html> for NoScriptChild

Source§

fn from(value: Html) -> Self

Converts to this type from the input type.
Source§

impl From<Iframe> for NoScriptChild

Source§

fn from(value: Iframe) -> Self

Converts to this type from the input type.
Source§

impl From<Image> for NoScriptChild

Source§

fn from(value: Image) -> Self

Converts to this type from the input type.
Source§

impl From<ImageMap> for NoScriptChild

Source§

fn from(value: ImageMap) -> Self

Converts to this type from the input type.
Source§

impl From<ImageMapArea> for NoScriptChild

Source§

fn from(value: ImageMapArea) -> Self

Converts to this type from the input type.
Source§

impl From<Input> for NoScriptChild

Source§

fn from(value: Input) -> Self

Converts to this type from the input type.
Source§

impl From<InsertedText> for NoScriptChild

Source§

fn from(value: InsertedText) -> Self

Converts to this type from the input type.
Source§

impl From<Italic> for NoScriptChild

Source§

fn from(value: Italic) -> Self

Converts to this type from the input type.
Source§

impl From<KeyboardInput> for NoScriptChild

Source§

fn from(value: KeyboardInput) -> Self

Converts to this type from the input type.
Source§

impl From<Label> for NoScriptChild

Source§

fn from(value: Label) -> Self

Converts to this type from the input type.
Source§

impl From<Legend> for NoScriptChild

Source§

fn from(value: Legend) -> Self

Converts to this type from the input type.
Source§

impl From<LineBreak> for NoScriptChild

Source§

fn from(value: LineBreak) -> Self

Converts to this type from the input type.
Source§

impl From<LineBreakOpportunity> for NoScriptChild

Source§

fn from(value: LineBreakOpportunity) -> Self

Converts to this type from the input type.
Source§

impl From<Link> for NoScriptChild

Source§

fn from(value: Link) -> Self

Converts to this type from the input type.
Source§

impl From<ListItem> for NoScriptChild

Source§

fn from(value: ListItem) -> Self

Converts to this type from the input type.
Source§

impl From<Main> for NoScriptChild

Source§

fn from(value: Main) -> Self

Converts to this type from the input type.
Source§

impl From<MarkText> for NoScriptChild

Source§

fn from(value: MarkText) -> Self

Converts to this type from the input type.
Source§

impl From<MediaSource> for NoScriptChild

Source§

fn from(value: MediaSource) -> Self

Converts to this type from the input type.
Source§

impl From<Menu> for NoScriptChild

Source§

fn from(value: Menu) -> Self

Converts to this type from the input type.
Source§

impl From<Meta> for NoScriptChild

Source§

fn from(value: Meta) -> Self

Converts to this type from the input type.
Source§

impl From<Meter> for NoScriptChild

Source§

fn from(value: Meter) -> Self

Converts to this type from the input type.
Source§

impl From<Navigation> for NoScriptChild

Source§

fn from(value: Navigation) -> Self

Converts to this type from the input type.
Source§

impl From<NoScript> for NoScriptChild

Source§

fn from(value: NoScript) -> Self

Converts to this type from the input type.
Source§

impl From<Object> for NoScriptChild

Source§

fn from(value: Object) -> Self

Converts to this type from the input type.
Source§

impl From<Option> for NoScriptChild

Source§

fn from(value: Option) -> Self

Converts to this type from the input type.
Source§

impl From<OptionGroup> for NoScriptChild

Source§

fn from(value: OptionGroup) -> Self

Converts to this type from the input type.
Source§

impl From<OrderedList> for NoScriptChild

Source§

fn from(value: OrderedList) -> Self

Converts to this type from the input type.
Source§

impl From<Output> for NoScriptChild

Source§

fn from(value: Output) -> Self

Converts to this type from the input type.
Source§

impl From<Paragraph> for NoScriptChild

Source§

fn from(value: Paragraph) -> Self

Converts to this type from the input type.
Source§

impl From<Picture> for NoScriptChild

Source§

fn from(value: Picture) -> Self

Converts to this type from the input type.
Source§

impl From<PreformattedText> for NoScriptChild

Source§

fn from(value: PreformattedText) -> Self

Converts to this type from the input type.
Source§

impl From<Progress> for NoScriptChild

Source§

fn from(value: Progress) -> Self

Converts to this type from the input type.
Source§

impl From<Quotation> for NoScriptChild

Source§

fn from(value: Quotation) -> Self

Converts to this type from the input type.
Source§

impl From<RubyAnnotation> for NoScriptChild

Source§

fn from(value: RubyAnnotation) -> Self

Converts to this type from the input type.
Source§

impl From<RubyFallbackParenthesis> for NoScriptChild

Source§

fn from(value: RubyFallbackParenthesis) -> Self

Converts to this type from the input type.
Source§

impl From<RubyText> for NoScriptChild

Source§

fn from(value: RubyText) -> Self

Converts to this type from the input type.
Source§

impl From<SampleOutput> for NoScriptChild

Source§

fn from(value: SampleOutput) -> Self

Converts to this type from the input type.
Source§

impl From<Script> for NoScriptChild

Source§

fn from(value: Script) -> Self

Converts to this type from the input type.
Source§

impl From<Search> for NoScriptChild

Source§

fn from(value: Search) -> Self

Converts to this type from the input type.
Source§

impl From<Section> for NoScriptChild

Source§

fn from(value: Section) -> Self

Converts to this type from the input type.
Source§

impl From<Select> for NoScriptChild

Source§

fn from(value: Select) -> Self

Converts to this type from the input type.
Source§

impl From<SideComment> for NoScriptChild

Source§

fn from(value: SideComment) -> Self

Converts to this type from the input type.
Source§

impl From<Slot> for NoScriptChild

Source§

fn from(value: Slot) -> Self

Converts to this type from the input type.
Source§

impl From<Span> for NoScriptChild

Source§

fn from(value: Span) -> Self

Converts to this type from the input type.
Source§

impl From<StrikeThrough> for NoScriptChild

Source§

fn from(value: StrikeThrough) -> Self

Converts to this type from the input type.
Source§

impl From<String> for NoScriptChild

Source§

fn from(value: String) -> Self

Converts to this type from the input type.
Source§

impl From<Strong> for NoScriptChild

Source§

fn from(value: Strong) -> Self

Converts to this type from the input type.
Source§

impl From<Style> for NoScriptChild

Source§

fn from(value: Style) -> Self

Converts to this type from the input type.
Source§

impl From<SubScript> for NoScriptChild

Source§

fn from(value: SubScript) -> Self

Converts to this type from the input type.
Source§

impl From<Summary> for NoScriptChild

Source§

fn from(value: Summary) -> Self

Converts to this type from the input type.
Source§

impl From<SuperScript> for NoScriptChild

Source§

fn from(value: SuperScript) -> Self

Converts to this type from the input type.
Source§

impl From<Table> for NoScriptChild

Source§

fn from(value: Table) -> Self

Converts to this type from the input type.
Source§

impl From<TableBody> for NoScriptChild

Source§

fn from(value: TableBody) -> Self

Converts to this type from the input type.
Source§

impl From<TableCell> for NoScriptChild

Source§

fn from(value: TableCell) -> Self

Converts to this type from the input type.
Source§

impl From<TableColumn> for NoScriptChild

Source§

fn from(value: TableColumn) -> Self

Converts to this type from the input type.
Source§

impl From<TableColumnGroup> for NoScriptChild

Source§

fn from(value: TableColumnGroup) -> Self

Converts to this type from the input type.
Source§

impl From<TableFoot> for NoScriptChild

Source§

fn from(value: TableFoot) -> Self

Converts to this type from the input type.
Source§

impl From<TableHead> for NoScriptChild

Source§

fn from(value: TableHead) -> Self

Converts to this type from the input type.
Source§

impl From<TableHeader> for NoScriptChild

Source§

fn from(value: TableHeader) -> Self

Converts to this type from the input type.
Source§

impl From<TableRow> for NoScriptChild

Source§

fn from(value: TableRow) -> Self

Converts to this type from the input type.
Source§

impl From<Template> for NoScriptChild

Source§

fn from(value: Template) -> Self

Converts to this type from the input type.
Source§

impl From<TextArea> for NoScriptChild

Source§

fn from(value: TextArea) -> Self

Converts to this type from the input type.
Source§

impl From<TextTrack> for NoScriptChild

Source§

fn from(value: TextTrack) -> Self

Converts to this type from the input type.
Source§

impl From<ThematicBreak> for NoScriptChild

Source§

fn from(value: ThematicBreak) -> Self

Converts to this type from the input type.
Source§

impl From<Time> for NoScriptChild

Source§

fn from(value: Time) -> Self

Converts to this type from the input type.
Source§

impl From<Title> for NoScriptChild

Source§

fn from(value: Title) -> Self

Converts to this type from the input type.
Source§

impl From<Underline> for NoScriptChild

Source§

fn from(value: Underline) -> Self

Converts to this type from the input type.
Source§

impl From<UnorderedList> for NoScriptChild

Source§

fn from(value: UnorderedList) -> Self

Converts to this type from the input type.
Source§

impl From<Variable> for NoScriptChild

Source§

fn from(value: Variable) -> Self

Converts to this type from the input type.
Source§

impl From<Video> for NoScriptChild

Source§

fn from(value: Video) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for NoScriptChild

Source§

fn eq(&self, other: &NoScriptChild) -> 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 Render for NoScriptChild

Source§

fn render(&self, f: &mut Formatter<'_>, depth: usize) -> Result

Render an element with a given depth argument.
Source§

impl StructuralPartialEq for NoScriptChild

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<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> 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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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.