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: u8A public field that is always included in the crate.
foo: u8A public field that is only included in the crate with feature foo.
foobar: u8A 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.
pub fn a(&self)[src]
A public method that is always included in the crate.
pub fn foo(&self)foo[src]
A public method that is only included in the crate with feature foo.
pub fn foobar2(&self)bar, foo[src]
A public method that is only included in the crate with features foo and bar.
impl A[src]
Some impls (from bar) that are always included in the crate.
(if the parent module is)
pub fn bar(&self)[src]
A public method that is always included in the crate. (if the parent module is)
pub fn foobar(&self)foo[src]
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[src]
A trait method impl that is only included in the crate with feature foo.
fn foobar(&self)bar, foo[src]
A trait method impl that is only included in the crate with features foo and bar.
impl FooTrait for Afoo[src]
A trait impl that is only included in the crate with feature foo.
fn foo(&self)[src]
A trait method impl that is always included in the crate. (if the parent trait is)
fn foobar(&self)bar[src]
A trait method impl that is only included in the crate with feature bar.
(if the parent trait is)
impl FooBarTrait for Abar, foo[src]
A trait impl that is only included in the crate with features foo and bar.
fn foo(&self)[src]
A trait method impl that is always included in the crate. (if the parent trait is)
fn foobar(&self)[src]
A trait method impl that is always included in the crate. (if the parent trait is)