Struct rustdoc_features_example::a::A
[−]
[src]
pub struct A { pub a: u8, pub foo: u8, pub foobar: u8, }
A public struct that is always included in the crate.
Fields
a: u8
A public field that is always included in the crate.
foo: u8
A public field that is only included in the crate with feature foo
.
foobar: u8
A public field that is only included in the crate with features foo
and bar
.
Methods
impl A
[src]
Some impls (from a
) that are always included in the crate.
fn a(&self)
A public method that is always included in the crate.
fn foo(&self)
foo
A public method that is only included in the crate with feature foo
.
fn foobar(&self)
foo, bar
A public method that is only included in the crate with features foo
and bar
.
impl A
bar[src]
Some impls (from bar
) that are always included in the crate.
(if the parent module is)
fn bar(&self)
bar
A public method that is always included in the crate. (if the parent module is)
fn foobar(&self)
foo, bar
A public method that is only included in the crate with feature foo
.
(if the parent module is)
Trait Implementations
impl Copy for A
[src]
impl ATrait for A
[src]
A trait impl that is always included in the crate.
fn foo(&self)
foo
A trait method impl that is only included in the crate with feature foo
.
fn foobar(&self)
foo, bar
A trait method impl that is only included in the crate with features foo
and bar
.
impl FooTrait for A
foo[src]
A trait impl that is only included in the crate with feature foo
.
fn foo(&self)
foo
A trait method impl that is always included in the crate. (if the parent trait is)
fn foobar(&self)
foo, bar
A trait method impl that is only included in the crate with feature bar
.
(if the parent trait is)
impl FooBarTrait for A
foo, bar[src]
A trait impl that is only included in the crate with features foo
and bar
.
fn foo(&self)
foo, bar
A trait method impl that is always included in the crate. (if the parent trait is)
fn foobar(&self)
foo, bar
A trait method impl that is always included in the crate. (if the parent trait is)
impl Clone for A
clone[src]
fn clone(&self) -> A
clone
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more