MCPcopy Create free account

hub / github.com/fadeevab/design-patterns-rust / functions

Functions277 in github.com/fadeevab/design-patterns-rust

↓ 1 callersMethodprev
(self: Box<Self>, player: &mut Player)
behavioral/state/state.rs:105
↓ 1 callersMethodprev_track
(&mut self)
behavioral/state/player.rs:45
↓ 1 callersMethodprint
(&self)
behavioral/memento/conceptual.rs:29
↓ 1 callersMethodrefresh
(&self)
creational/factory-method/render-dialog/gui.rs:18
↓ 1 callersFunctionrender
Renders GUI.
creational/abstract-factory/app-dyn/render.rs:7
↓ 1 callersMethodrender
(&self, _: &Player, view: &mut TextView)
behavioral/state/state.rs:41
↓ 1 callersMethodrender
(&self)
creational/simple-factory/button/id.rs:14
↓ 1 callersMethodrender
(&self)
creational/factory-method/render-dialog/html_gui.rs:6
↓ 1 callersMethodrender
(&self)
creational/factory-method/maze-game/magic_maze.rs:15
↓ 1 callersMethodrequired_operations1
(&self)
behavioral/template-method/main.rs:34
↓ 1 callersMethodrequired_operations2
(&self)
behavioral/template-method/main.rs:38
↓ 1 callersMethodrooms
(&self)
creational/factory-method/maze-game/magic_maze.rs:38
↓ 1 callersFunctionrun
()
creational/singleton/logger/app.rs:3
↓ 1 callersMethodsearch
(&self, keyword: &str)
structural/composite/fs/file.rs:14
↓ 1 callersMethodsend_wallet_credit_notification
(&self)
structural/facade/notification.rs:4
↓ 1 callersMethodsend_wallet_debit_notification
(&self)
structural/facade/notification.rs:8
↓ 1 callersFunctionset_boxed_logger
(logger: Box<dyn Log + Sync + Send>)
creational/singleton/logger/log.rs:10
↓ 1 callersFunctionsingleton_init
(array: Vec<i32>)
creational/singleton/how-to-create/once.rs:11
↓ 1 callersMethodspecific_request
(&self)
structural/adapter/adaptee.rs:4
↓ 1 callersMethodstarted
(&self)
creational/builder/components.rs:39
↓ 1 callersMethodstop
(self: Box<Self>, _: &mut Player)
behavioral/state/state.rs:36
↓ 1 callersMethodtemplate_method
(&self)
behavioral/template-method/main.rs:2
↓ 1 callersMethodundo
(&mut self, app: &mut Cursive)
behavioral/command/command/cut.rs:24
↓ 1 callersMethodunsubscribe
(&mut self, event_type: Event, listener: Subscriber)
behavioral/observer/observer.rs:25
↓ 1 callersMethodvolume_down
(&mut self)
structural/bridge/remotes/mod.rs:23
↓ 1 callersMethodvolume_up
(&mut self)
structural/bridge/remotes/mod.rs:29
↓ 1 callersFunctionwarn
(message: &str)
creational/singleton/logger/log.rs:42
Methodarrive
(&self)
behavioral/mediator/mediator-rc-refcell/trains/passenger_train.rs:22
Methodarrive
(&mut self, mediator: &mut dyn Mediator)
behavioral/mediator/mediator-top-down/trains/passenger_train.rs:19
Methodbuild
(self)
creational/builder/builders/car_manual.rs:41
Methodcache_len
(&self)
structural/flyweight/forest.rs:47
Methodcar_type
(&self)
creational/builder/cars/car.rs:31
Methodchannel
(&self)
structural/bridge/device/radio.rs:41
Methodchannel_down
(&mut self)
structural/bridge/remotes/mod.rs:35
Methodchannel_up
(&mut self)
structural/bridge/remotes/mod.rs:41
Methodcheck
(&self, code: u32)
structural/facade/security_code.rs:10
Methodconstruct_city_car
(builder: &mut impl Builder)
creational/builder/director.rs:21
Methodconstruct_sports_car
(builder: &mut impl Builder)
creational/builder/director.rs:13
Methodconstruct_suv
(builder: &mut impl Builder)
creational/builder/director.rs:29
Methodcreate
(visitor: V)
behavioral/visitor/main.rs:44
Methodcreate_button
(&self)
creational/abstract-factory/windows-gui/factory.rs:11
Methodcreate_button
Creates a Windows button.
creational/factory-method/render-dialog/windows_gui.rs:20
Methodcreate_checkbox
(&self)
creational/abstract-factory/windows-gui/factory.rs:15
Methoddefault
()
behavioral/state/player.rs:26
Methoddefault
()
structural/bridge/device/radio.rs:11
Methoddefault
()
structural/bridge/device/tv.rs:11
Methoddepart
(&self)
behavioral/mediator/mediator-rc-refcell/trains/passenger_train.rs:31
Methoddepart
(&mut self, mediator: &mut dyn Mediator)
behavioral/mediator/mediator-top-down/trains/freight_train.rs:28
Methoddepart
(&mut self, mediator: &mut dyn Mediator)
behavioral/mediator/mediator-top-down/trains/passenger_train.rs:28
Methoddevice
(&mut self)
structural/bridge/remotes/advanced.rs:21
Methoddisable
(&mut self)
structural/bridge/device/radio.rs:29
Methoddraw
(&self, canvas: &mut Canvas, x: u32, y: u32)
structural/flyweight/forest/tree.rs:40
Methodenable
(&mut self)
structural/bridge/device/radio.rs:25
Methodengine
(&self)
creational/builder/cars/car.rs:47
Methodexecute
(&mut self, app: &mut Cursive)
behavioral/command/command/paste.rs:12
Methodexecute
(&mut self, app: &mut Cursive)
behavioral/command/command/copy.rs:10
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
creational/singleton/logger/log.rs:51
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
creational/builder/cars/manual.rs:30
Methodfrom_route
(route: String)
creational/builder/components.rs:71
Methodfuel
(&self)
creational/builder/cars/car.rs:35
Methodgo
(&mut self, mileage: f64)
creational/builder/components.rs:51
Methodgps_navigator
(&self)
creational/builder/cars/car.rs:55
Methodhandle
(&mut self, patient: &mut Patient)
behavioral/chain-of-responsibility/department/cashier.rs:9
Methodhandle
(&mut self, patient: &mut Patient)
behavioral/chain-of-responsibility/department/medical.rs:16
Methodhandle
(&mut self, patient: &mut Patient)
behavioral/chain-of-responsibility/department/reception.rs:17
Methodhandle_request
(&mut self, url: &str, method: &str)
structural/proxy/server/application.rs:6
Methodis_enabled
(&self)
structural/bridge/device/radio.rs:21
Methodload
Constructs an object by reading from database.
creational/static-creation-method/main.rs:13
Functionmain
()
behavioral/strategy/conceptual.rs:39
Functionmain
()
behavioral/strategy/functional.rs:28
Functionmain
()
behavioral/memento/serde.rs:23
Functionmain
()
behavioral/memento/conceptual.rs:34
Functionmain
()
behavioral/command/main.rs:19
Functionmain
()
behavioral/chain-of-responsibility/main.rs:7
Functionmain
()
behavioral/state/main.rs:19
Functionmain
()
behavioral/mediator/mediator-rc-refcell/main.rs:9
Functionmain
()
behavioral/mediator/mediator-top-down/main.rs:7
Functionmain
()
behavioral/iterator/main.rs:5
Functionmain
()
behavioral/visitor/main.rs:74
Functionmain
()
behavioral/template-method/main.rs:59
Functionmain
()
behavioral/observer/main.rs:7
Functionmain
()
structural/decorator/main.rs:3
Functionmain
()
structural/bridge/main.rs:8
Functionmain
()
structural/composite/main.rs:5
Functionmain
()
structural/facade/main.rs:10
Functionmain
()
structural/proxy/main.rs:5
Functionmain
()
structural/flyweight/main.rs:12
Functionmain
()
structural/adapter/main.rs:19
Functionmain
()
creational/abstract-factory/app/main.rs:8
Functionmain
()
creational/abstract-factory/app-dyn/main.rs:9
Functionmain
()
creational/simple-factory/main.rs:21
Functionmain
()
creational/singleton/logger/main.rs:7
Functionmain
()
creational/singleton/how-to-create/mutex.rs:18
Functionmain
()
creational/singleton/how-to-create/lazy.rs:23
Functionmain
()
creational/singleton/how-to-create/once.rs:19
Functionmain
()
creational/singleton/how-to-create/local.rs:9
Functionmain
()
creational/factory-method/render-dialog/main.rs:8
Functionmain
The game runs with different mazes depending on the concrete factory type: it's either an ordinary maze or a magic maze. For demonstration purposes,
creational/factory-method/maze-game/main.rs:12
Functionmain
()
creational/builder/main.rs:12
Functionmain
()
creational/static-creation-method/main.rs:33
← previousnext →101–200 of 277, ranked by callers